From 15f4bac7870cf83dc70e8dc971052506a1a72b40 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Mon, 21 May 2007 15:57:00 +0900 Subject: [PATCH] include/wine/debug.h: Fix compilation warning in 64-bit mode. --- include/wine/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wine/debug.h b/include/wine/debug.h index abde9d99451..adab5581583 100644 --- a/include/wine/debug.h +++ b/include/wine/debug.h @@ -186,7 +186,7 @@ static inline const char *wine_dbgstr_w( const WCHAR *s ) static inline const char *wine_dbgstr_guid( const GUID *id ) { if (!id) return "(null)"; - if (!((INT_PTR)id >> 16)) return wine_dbg_sprintf( "", (INT_PTR)id & 0xffff ); + if (!((ULONG_PTR)id >> 16)) return wine_dbg_sprintf( "", (ULONG_PTR)id & 0xffff ); return wine_dbg_sprintf( "{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}", id->Data1, id->Data2, id->Data3, id->Data4[0], id->Data4[1], id->Data4[2], id->Data4[3],