mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d: Print "0x" prefix before UINT64 hexadecimal values.
This commit is contained in:
parent
8341c975a0
commit
7701228cd7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user