From: havoc Date: Wed, 28 Jan 2009 05:24:10 +0000 (+0000) Subject: fix another warning reported by O.Sezer X-Git-Tag: xonotic-v0.1.0preview~1914 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bcbddc62a10e4cccaa5875214c83ed8cb62cbfde;p=xonotic%2Fdarkplaces.git fix another warning reported by O.Sezer git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8680 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cd_win.c b/cd_win.c index 913aec31..76ac51ed 100644 --- a/cd_win.c +++ b/cd_win.c @@ -26,7 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "cdaudio.h" -#if _MSC_VER < 1300 +#if defined(_MSC_VER) && (_MSC_VER < 1300) typedef DWORD DWORD_PTR; #endif @@ -218,7 +218,7 @@ LONG CDAudio_MessageHandler (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) break; default: - Con_Printf("Unexpected MM_MCINOTIFY type (%i)\n", wParam); + Con_Printf("Unexpected MM_MCINOTIFY type (%i)\n", (int)wParam); return 1; }