]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a warning about an unsigned array on ios
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 6 Mar 2011 20:59:46 +0000 (20:59 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 6 Mar 2011 20:59:46 +0000 (20:59 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10903 d7cf8633-e32d-0410-b094-e92efae38249

vid_sdl.c

index 07a51dc1049b7155f1b125f005d160a844b55c31..73448881fdb4f52576cb61aaa61ade413e790b71 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -830,6 +830,7 @@ static void sdl_newmap(void)
 }
 #endif
 
+#ifndef __IPHONEOS__
 static keynum_t buttonremap[18] =
 {
        K_MOUSE1,
@@ -851,6 +852,7 @@ static keynum_t buttonremap[18] =
        K_MOUSE15,
        K_MOUSE16,
 };
+#endif
 
 #if SETVIDEOMODE
 // SDL 1.2