diff options
author | smatz <smatz@openttd.org> | 2009-06-25 00:06:06 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-25 00:06:06 +0000 |
commit | 8bc244d14e14b898bfaff8bb3ba23704a1168669 (patch) | |
tree | cf10d0704c8e67599d6b3f91ad61ffdba339eb64 /src | |
parent | 029fb9bdee86302f3265998577a7827690b86ac9 (diff) | |
download | openttd-8bc244d14e14b898bfaff8bb3ba23704a1168669.tar.xz |
(svn r16653) -Fix (r16269): TOC() macro was broken
Diffstat (limited to 'src')
-rw-r--r-- | src/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.h b/src/debug.h index 0f8ac60f5..67307f7eb 100644 --- a/src/debug.h +++ b/src/debug.h @@ -77,7 +77,7 @@ const char *GetDebugString(); #define TOC(str, count)\ __sum__ += ottd_rdtsc() - _xxx_;\ if (++__i__ == count) {\ - DEBUG(misc, 0, "[%s] %" OTTD_PRINTF64 "u [avg: %.1f]\n", str, __sum__, __sum__/(double)__i__);\ + DEBUG(misc, 0, "[%s] " OTTD_PRINTF64 " [avg: %.1f]\n", str, __sum__, __sum__/(double)__i__);\ __i__ = 0;\ __sum__ = 0;\ }\ |