From 71b8797d9ebfb686de885ef0b059f8c8b6f8cb3b Mon Sep 17 00:00:00 2001 From: Lance Date: Sat, 4 Jun 2011 12:56:45 +0000 Subject: [PATCH] More MinWW64 warnings addressed. git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3809 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cd_win.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/cd_win.c b/engine/client/cd_win.c index 52e220064..87d2aab75 100644 --- a/engine/client/cd_win.c +++ b/engine/client/cd_win.c @@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "quakedef.h" #include "winquake.h" -#if (_MSC_VER < 1300) +#if defined(_MSC_VER) && (_MSC_VER < 1300) #define DWORD_PTR DWORD #endif @@ -425,7 +425,7 @@ LONG CDAudio_MessageHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) break; default: - Con_DPrintf("Unexpected MM_MCINOTIFY type (%i)\n", wParam); + Con_DPrintf("Unexpected MM_MCINOTIFY type (%i)\n", (int)wParam); return 1; }