From 815919b1fb79b60f82d72cd36ad2ba0d6fe86671 Mon Sep 17 00:00:00 2001 From: Jason Wilkins Date: Fri, 10 Oct 2014 23:17:07 -0500 Subject: fixed printf format warning that occurred with 64-bit targets --- intern/ghost/intern/GHOST_Context.cpp | 8 ++++---- 1 file 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 -- cgit v1.2.3