]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_win.c
Removed mqt_viewmindist as it messes up order and don't give much.
[xonotic/darkplaces.git] / cd_win.c
index 913aec31e4681488c5193632486d3f6692618d9f..76ac51edec3ca461dd9db7b54e61131c4f36454c 100644 (file)
--- 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;
        }