From: havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Sun, 6 Mar 2011 20:59:46 +0000 (+0000)
Subject: fix a warning about an unsigned array on ios
X-Git-Tag: xonotic-v0.5.0~425^2
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c0b5a9d4a829afdee87b9ef5fc508dfff77eee4e;p=xonotic%2Fdarkplaces.git

fix a warning about an unsigned array on ios


git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10903 d7cf8633-e32d-0410-b094-e92efae38249
---

diff --git a/vid_sdl.c b/vid_sdl.c
index 07a51dc1..73448881 100644
--- 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