diff src/video/cocoa/SDL_cocoakeyboard.m @ 3525:455a6c47d2c6

Fixed compilation on Mac OS X 10.4
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Dec 2009 19:57:49 +0000
parents d390778b59c1
children 1ab77e93a6c9
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoakeyboard.m	Sat Dec 05 19:46:24 2009 +0000
+++ b/src/video/cocoa/SDL_cocoakeyboard.m	Sat Dec 05 19:57:49 2009 +0000
@@ -180,9 +180,10 @@
     return nil;
 }
 
-- (NSInteger) conversationIdentifier
+/* Needs long instead of NSInteger for compilation on Mac OS X 10.4 */
+- (long) conversationIdentifier
 {
-    return (NSInteger) self;
+    return (long) self;
 }
 
 // This method returns the index for character that is