]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_win.c
fix a number of char types that should be int, to make them immune to
[xonotic/darkplaces.git] / cd_win.c
index 495fe02091dd97e6cc5ac341e26868db9940a87e..913aec31e4681488c5193632486d3f6692618d9f 100644 (file)
--- a/cd_win.c
+++ b/cd_win.c
@@ -20,10 +20,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 // Quake is a trademark of Id Software, Inc., (c) 1996 Id Software, Inc. All
 // rights reserved.
 
+#include "quakedef.h"
 #include <windows.h>
 #include <mmsystem.h>
 
-#include "quakedef.h"
 #include "cdaudio.h"
 
 #if _MSC_VER < 1300
@@ -99,7 +99,7 @@ void CDAudio_SysSetVolume (float volume)
 }
 
 
-int CDAudio_SysPlay (unsigned char track)
+int CDAudio_SysPlay (int track)
 {
        DWORD                           dwReturn;
        MCI_PLAY_PARMS          mciPlayParms;