From 8bc244d14e14b898bfaff8bb3ba23704a1168669 Mon Sep 17 00:00:00 2001 From: smatz Date: Thu, 25 Jun 2009 00:06:06 +0000 Subject: (svn r16653) -Fix (r16269): TOC() macro was broken --- src/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;\ }\ -- cgit v1.2.3-70-g09d2