# HG changeset patch # User smatz # Date 2009-06-25 00:06:06 # Node ID 1660f6f159c92b5bd1050d1a1f2febc9261b3c17 # Parent 937c28c992ae09ebb32513617c44e7d6b37cf497 (svn r16653) -Fix (r16269): TOC() macro was broken diff --git a/src/debug.h b/src/debug.h --- 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;\ }\