From: havoc Date: Mon, 16 Feb 2009 04:48:30 +0000 (+0000) Subject: fix some mingw64 warnings (I hope) X-Git-Tag: xonotic-v0.1.0preview~1881 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8c255139dab16fb8248beeac153654195ef1acfe;p=xonotic%2Fdarkplaces.git fix some mingw64 warnings (I hope) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8713 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_wgl.c b/vid_wgl.c index db3ec891..298d5668 100644 --- 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;