]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix some mingw64 warnings (I hope)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 16 Feb 2009 04:48:30 +0000 (04:48 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 16 Feb 2009 04:48:30 +0000 (04:48 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8713 d7cf8633-e32d-0410-b094-e92efae38249

vid_wgl.c

index db3ec891b14b969497fe8c3d8342e00a7c4ae89e..298d5668169fb37a10b827e65b9b908445ededd6 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -480,8 +480,8 @@ LONG WINAPI MainWndProc (HWND hWnd, UINT uMsg, WPARAM  wParam, LPARAM lParam)
 {
        LONG    lRet = 1;
        int             fActive, fMinimized, temp;
-       char    state[256];
-       char    asciichar[4];
+       unsigned char state[256];
+       unsigned char asciichar[4];
        int             vkey;
        int             charlength;
        qboolean down = false;
@@ -810,7 +810,7 @@ int VID_InitMode (int fullscreen, int *width, int *height, int bpp, int refreshr
        };
        int windowpass;
        int pixelformat, newpixelformat;
-       int numpixelformats;
+       UINT numpixelformats;
        DWORD WindowStyle, ExWindowStyle;
        int CenterX, CenterY;
        const char *gldrivername;