]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_win.c
call reset functions in init code (not necessary currently, as the compilers currentl...
[xonotic/darkplaces.git] / cd_win.c
index 52bcf13d89327a4e4bc1c972d89b108afed350c6..e3359487ff4365be89808dde7d0da11ee3d4e802 100644 (file)
--- a/cd_win.c
+++ b/cd_win.c
@@ -360,7 +360,7 @@ static void CD_f (void)
 
 LONG CDAudio_MessageHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
-       if (lParam != wDeviceID)
+       if (lParam != (LPARAM)wDeviceID)
                return 1;
 
        switch (wParam)