#include "cdaudio.h"
-#if _MSC_VER < 1300
+#if defined(_MSC_VER) && (_MSC_VER < 1300)
typedef DWORD DWORD_PTR;
#endif
}
-int CDAudio_SysPlay (unsigned char track)
+int CDAudio_SysPlay (int track)
{
DWORD dwReturn;
MCI_PLAY_PARMS mciPlayParms;
break;
default:
- Con_Printf("Unexpected MM_MCINOTIFY type (%i)\n", wParam);
+ Con_Printf("Unexpected MM_MCINOTIFY type (%i)\n", (int)wParam);
return 1;
}