Commit 15f4bac7 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

include/wine/debug.h: Fix compilation warning in 64-bit mode.

parent 7472fa44
...@@ -186,7 +186,7 @@ static inline const char *wine_dbgstr_w( const WCHAR *s ) ...@@ -186,7 +186,7 @@ static inline const char *wine_dbgstr_w( const WCHAR *s )
static inline const char *wine_dbgstr_guid( const GUID *id ) static inline const char *wine_dbgstr_guid( const GUID *id )
{ {
if (!id) return "(null)"; if (!id) return "(null)";
if (!((INT_PTR)id >> 16)) return wine_dbg_sprintf( "<guid-0x%04x>", (INT_PTR)id & 0xffff ); if (!((ULONG_PTR)id >> 16)) return wine_dbg_sprintf( "<guid-0x%04lx>", (ULONG_PTR)id & 0xffff );
return wine_dbg_sprintf( "{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}", return wine_dbg_sprintf( "{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}",
id->Data1, id->Data2, id->Data3, id->Data1, id->Data2, id->Data3,
id->Data4[0], id->Data4[1], id->Data4[2], id->Data4[3], id->Data4[0], id->Data4[1], id->Data4[2], id->Data4[3],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment