From 8c255139dab16fb8248beeac153654195ef1acfe Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 16 Feb 2009 04:48:30 +0000 Subject: [PATCH] fix some mingw64 warnings (I hope) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8713 d7cf8633-e32d-0410-b094-e92efae38249 --- vid_wgl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.2