Fixed compiler warning

This commit is contained in:
Sam Lantinga 2014-06-21 11:36:00 -07:00
parent 9e25cdad8c
commit 67d9cbf806

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];