Fixed compiler warning
authorSam Lantinga <slouken@libsdl.org>
Sat, 21 Jun 2014 11:36:00 -0700
changeset 8884 a13802298fdd
parent 8883 0700ef83072a
child 8885 8ea82c84c157
Fixed compiler warning
src/video/cocoa/SDL_cocoamessagebox.m
--- a/src/video/cocoa/SDL_cocoamessagebox.m	Sat Jun 21 11:24:06 2014 -0700
+++ b/src/video/cocoa/SDL_cocoamessagebox.m	Sat Jun 21 11:36:00 2014 -0700
@@ -132,7 +132,7 @@
     }
     else
     {
-        returnValue = SDL_SetError("Did not get a valid `clicked button' id: %d", clicked);
+        returnValue = SDL_SetError("Did not get a valid `clicked button' id: %ld", (long)clicked);
     }
 
     [pool release];