Commit: 815919b1fb79b60f82d72cd36ad2ba0d6fe86671
Author: Jason Wilkins
Date:   Fri Oct 10 23:17:07 2014 -0500
Branches: master
https://developer.blender.org/rB815919b1fb79b60f82d72cd36ad2ba0d6fe86671

fixed printf format warning that occurred with 64-bit targets

===================================================================

M       intern/ghost/intern/GHOST_Context.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_Context.cpp 
b/intern/ghost/intern/GHOST_Context.cpp
index 2815f9a..f69f218 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

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to