Fixed compiler warning

This commit is contained in:
Sam Lantinga 2014-06-21 11:36:00 -07:00
parent ce84813a80
commit 8ef5651185
1 changed files with 1 additions and 1 deletions

View File

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