]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix two compile errors in D3D9 build
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 1 Mar 2011 23:02:05 +0000 (23:02 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 1 Mar 2011 23:02:05 +0000 (23:02 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10879 d7cf8633-e32d-0410-b094-e92efae38249

vid_sdl.c

index 2656ac10f0d8ae5380a3d7ce4f29c792f26d04cc..f240c3c9c55126e8f94e1778b03a63ffcc018795 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -686,7 +686,7 @@ void IN_Move( void )
                }
                oldkeydest = keydest;
                // top of screen is toggleconsole and K_ESCAPE
-                       VID_TouchscreenArea(  0,   0,  50,  50, NULL                         , NULL, &buttons[13], '`');
+                       VID_TouchscreenArea(  0,   0,  50,  50, NULL                         , NULL, &buttons[13], (keynum_t)'`');
                        VID_TouchscreenArea( 50,   0, 270,  50, "gfx/touch_menu.tga"         , NULL, &buttons[14], K_ESCAPE);
                switch(keydest)
                {
@@ -709,7 +709,7 @@ void IN_Move( void )
                        break;
                default:
                        // in menus, an icon in the corner activates keyboard
-                       VID_TouchscreenArea(  0, 430,  50,  50, "gfx/touch_keyboard.tga"     , NULL, &buttons[15], 0);
+                       VID_TouchscreenArea(  0, 430,  50,  50, "gfx/touch_keyboard.tga"     , NULL, &buttons[15], (keynum_t)0);
                        if (buttons[15])
                                VID_ShowKeyboard(true);
                        VID_TouchscreenArea(  0,   0,   0,   0, NULL                         , move, &buttons[0], K_MOUSE4);