diff options
author | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2014-10-11 08:17:07 +0400 |
---|---|---|
committer | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2014-10-11 08:21:44 +0400 |
commit | 815919b1fb79b60f82d72cd36ad2ba0d6fe86671 (patch) | |
tree | 2f150c2a075aab9743615897e66b2b015f1b61a9 | |
parent | dd897de06114d6a39908f82c228027f633359d0b (diff) |
fixed printf format warning that occurred with 64-bit targets
-rw-r--r-- | intern/ghost/intern/GHOST_Context.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/ghost/intern/GHOST_Context.cpp b/intern/ghost/intern/GHOST_Context.cpp index 2815f9aa437..f69f2181ef7 100644 --- a/intern/ghost/intern/GHOST_Context.cpp +++ b/intern/ghost/intern/GHOST_Context.cpp @@ -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 |