fixed printf format warning that occurred with 64-bit targets

This commit is contained in:
Jason Wilkins 2014-10-10 23:17:07 -05:00
parent dd897de061
commit 815919b1fb

@ -115,17 +115,17 @@ bool win32_chk(bool result, const char *file, int line, const char *text)
#ifndef NDEBUG
_ftprintf(
stderr,
"%s(%d):[%s] -> Win32 Error# (%d): %s",
"%s(%d):[%s] -> Win32 Error# (%lu): %s",
file,
line,
text,
error,
(unsigned long)error,
msg);
#else
_ftprintf(
stderr,
"Win32 Error# (%d): %s",
error,
"Win32 Error# (%lu): %s",
(unsigned long)error,
msg);
#endif