소스 검색

Fixed compiler warning

Sam Lantinga 11 년 전
부모
커밋
8ef5651185
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/video/cocoa/SDL_cocoamessagebox.m

+ 1 - 1
src/video/cocoa/SDL_cocoamessagebox.m

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