From 92693623e2f91febd6432d918f82d094954688f4 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 28 Aug 2013 01:08:15 +0200 Subject: [PATCH] package daemon: DebugSupport.h: fix (64 bit) printf() formats --- src/servers/package/DebugSupport.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/servers/package/DebugSupport.h b/src/servers/package/DebugSupport.h index 25592d41cb..af6545eaea 100644 --- a/src/servers/package/DebugSupport.h +++ b/src/servers/package/DebugSupport.h @@ -104,23 +104,24 @@ void dbg_printf_end(); #define DEBUG_CONTEXT(x) \ { \ dbg_printf_begin(); \ - __out(DEBUG_APP " [%Ld: %5ld] ", system_time(), DEBUG_THREAD); \ + __out(DEBUG_APP " [%" B_PRIdBIGTIME ": %5" B_PRId32 "] ", \ + system_time(), DEBUG_THREAD); \ x; \ dbg_printf_end(); \ } #define DEBUG_CONTEXT_FUNCTION(prefix, x) \ { \ dbg_printf_begin(); \ - __out(DEBUG_APP " [%Ld: %5ld] %s" prefix, system_time(), DEBUG_THREAD, \ - __PRETTY_FUNCTION__); \ + __out(DEBUG_APP " [%" B_PRIdBIGTIME ": %5" B_PRId32 "] %s" prefix, \ + system_time(), DEBUG_THREAD,__PRETTY_FUNCTION__); \ x; \ dbg_printf_end(); \ } #define DEBUG_CONTEXT_LINE(x) \ { \ dbg_printf_begin(); \ - __out(DEBUG_APP " [%Ld: %5ld] %s:%d: ", system_time(), DEBUG_THREAD, \ - __PRETTY_FUNCTION__, __LINE__); \ + __out(DEBUG_APP " [%" B_PRIdBIGTIME ": %5" B_PRId32 "] %s:%d: ", \ + system_time(), DEBUG_THREAD, __PRETTY_FUNCTION__, __LINE__); \ x; \ dbg_printf_end(); \ }