libs/vkd3d: Use PRIx64 to print 64-bit integers.

This commit is contained in:
Józef Kucia
2016-10-10 11:22:50 +02:00
parent 6330c9f46a
commit 59d466af2d
5 changed files with 56 additions and 67 deletions

View File

@ -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)