forked from bartvdbraak/blender
fixed printf format warning that occurred with 64-bit targets
This commit is contained in:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user