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(); \ }