From db3a1ba4b0496086abc436351f8d3c6e7eae82ee Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 26 Apr 2012 08:24:11 +1000 Subject: Fix bug identified by Xcode Analyze. --- cocoa/PlatCocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa') diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index f584107a7..5c1213d72 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -2098,7 +2098,7 @@ int Platform::Maximum(int a, int b) { void Platform::DebugDisplay(const char *s) { - fprintf( stderr, s ); + fprintf( stderr, "%s", s ); } //-------------------------------------------------------------------------------------------------- -- cgit v1.2.3