libs/vkd3d: Print "0x" prefix before UINT64 hexadecimal values.

This commit is contained in:
Józef Kucia 2016-09-27 12:13:37 +02:00
parent 8341c975a0
commit 7701228cd7

View File

@ -62,9 +62,9 @@ const char *debugstr_w(const WCHAR *wstr) DECLSPEC_HIDDEN;
static inline const char *debugstr_uint64(UINT64 v)
{
if ((v >> 32) && sizeof(unsigned long) < sizeof(v))
return vkd3d_dbg_sprintf("%lx%08lx", (unsigned long)(v >> 32), (unsigned long)v);
return vkd3d_dbg_sprintf("%#lx%08lx", (unsigned long)(v >> 32), (unsigned long)v);
return vkd3d_dbg_sprintf("%lx", (unsigned long)v);
return vkd3d_dbg_sprintf("%#lx", (unsigned long)v);
}
static inline const char *debugstr_guid(const GUID *guid)