Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wilkins <Jason.A.Wilkins@gmail.com>2014-10-11 08:17:07 +0400
committerJason Wilkins <Jason.A.Wilkins@gmail.com>2014-10-11 08:21:44 +0400
commit815919b1fb79b60f82d72cd36ad2ba0d6fe86671 (patch)
tree2f150c2a075aab9743615897e66b2b015f1b61a9
parentdd897de06114d6a39908f82c228027f633359d0b (diff)
fixed printf format warning that occurred with 64-bit targets
-rw-r--r--intern/ghost/intern/GHOST_Context.cpp8
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