Fixed compiler warning

This commit is contained in:
Sam Lantinga 2014-06-21 11:36:00 -07:00
parent ce84813a80
commit 8ef5651185

View file

@ -132,7 +132,7 @@ Cocoa_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
} }
else 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]; [pool release];