mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
libs/vkd3d: Use PRIx64 to print 64-bit integers.
This commit is contained in:
@ -59,14 +59,6 @@ const char *debugstr_w(const WCHAR *wstr) DECLSPEC_HIDDEN;
|
||||
#define FIXME VKD3D_DBG_LOG(FIXME)
|
||||
#define ERR VKD3D_DBG_LOG(ERR)
|
||||
|
||||
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", (unsigned long)v);
|
||||
}
|
||||
|
||||
static inline const char *debugstr_guid(const GUID *guid)
|
||||
{
|
||||
if (!guid)
|
||||
|
Reference in New Issue
Block a user