src/video/cocoa/SDL_cocoamessagebox.m
changeset 8884 a13802298fdd
parent 8149 681eb46b8ac4
child 8986 1c81316ac642
equal deleted inserted replaced
8883:0700ef83072a 8884:a13802298fdd
   130         clicked -= NSAlertFirstButtonReturn;
   130         clicked -= NSAlertFirstButtonReturn;
   131         *buttonid = buttons[clicked].buttonid;
   131         *buttonid = buttons[clicked].buttonid;
   132     }
   132     }
   133     else
   133     else
   134     {
   134     {
   135         returnValue = SDL_SetError("Did not get a valid `clicked button' id: %d", clicked);
   135         returnValue = SDL_SetError("Did not get a valid `clicked button' id: %ld", (long)clicked);
   136     }
   136     }
   137 
   137 
   138     [pool release];
   138     [pool release];
   139 
   139 
   140     return returnValue;
   140     return returnValue;