Dmitry Timoshkov : include/wine/debug.h: Fix compilation warning in 64-bit mode. <dmitry at codeweavers.com>

svn path=/trunk/; revision=31103
This commit is contained in:
Christoph von Wittich 2007-12-09 13:57:09 +00:00
parent 7adb28bee6
commit da3a3f761b

View file

@ -189,7 +189,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( "<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}",
id->Data1, id->Data2, id->Data3,
id->Data4[0], id->Data4[1], id->Data4[2], id->Data4[3],