From 53779f07a41945c6f0dde2e6dfaca68ee698d060 Mon Sep 17 00:00:00 2001 From: Maurice Kalinowski Date: Sun, 15 Jun 2008 19:21:00 +0000 Subject: [PATCH] fix gcc4 warning about wrong argument type. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25967 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/support/Debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/os/support/Debug.h b/headers/os/support/Debug.h index d9192a9426..5a010769de 100644 --- a/headers/os/support/Debug.h +++ b/headers/os/support/Debug.h @@ -47,10 +47,10 @@ extern "C" { PRINT(("%s\t", #OBJ)); \ (OBJ).PrintToStream(); \ } ((void)0) - #define TRACE() _debugPrintf("File: %s, Line: %d, Thread: %d\n", \ + #define TRACE() _debugPrintf("File: %s, Line: %d, Thread: %ld\n", \ __FILE__, __LINE__, find_thread(NULL)) - #define SERIAL_TRACE() _sPrintf("File: %s, Line: %d, Thread: %d\n", \ + #define SERIAL_TRACE() _sPrintf("File: %s, Line: %d, Thread: %ld\n", \ __FILE__, __LINE__, find_thread(NULL)) #define DEBUGGER(MSG) if (_rtDebugFlag) debugger(MSG)