]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_sdl.c
fix a number of char types that should be int, to make them immune to
[xonotic/darkplaces.git] / cd_sdl.c
index b9a7a7539423ea6eaecb02ebeccd18c6230996ff..c508fc02eeabb021028ac479c545c200d7b76516 100644 (file)
--- a/cd_sdl.c
+++ b/cd_sdl.c
@@ -80,7 +80,7 @@ void CDAudio_SysSetVolume (float volume)
 }
 
 
-int CDAudio_SysPlay (unsigned char track)
+int CDAudio_SysPlay (int track)
 {
        SDL_CDStop( cd );
        endtime = realtime + (float) cd->track[ track - 1 ].length / CD_FPS;