summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-06-25 00:06:06 +0000
committersmatz <smatz@openttd.org>2009-06-25 00:06:06 +0000
commit8bc244d14e14b898bfaff8bb3ba23704a1168669 (patch)
treecf10d0704c8e67599d6b3f91ad61ffdba339eb64
parent029fb9bdee86302f3265998577a7827690b86ac9 (diff)
downloadopenttd-8bc244d14e14b898bfaff8bb3ba23704a1168669.tar.xz
(svn r16653) -Fix (r16269): TOC() macro was broken
-rw-r--r--src/debug.h2
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;\
}\