From 74570aa283cf77ceaf7a1108b65b4817f268fbff Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 1 Mar 2011 23:02:05 +0000 Subject: [PATCH] fix two compile errors in D3D9 build git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10879 d7cf8633-e32d-0410-b094-e92efae38249 --- vid_sdl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vid_sdl.c b/vid_sdl.c index 2656ac10..f240c3c9 100644 --- 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); -- 2.39.2