]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix a warning in msvc6
authorsajt <sajt@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 9 Oct 2007 19:44:32 +0000 (19:44 +0000)
committersajt <sajt@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 9 Oct 2007 19:44:32 +0000 (19:44 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7614 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index c2efe5d72467247395035af32711c3514425feab..2a83ee0c681ccf61718fee685443ba3483865942 100644 (file)
@@ -1171,7 +1171,7 @@ Cr = R *  .500 + G * -.419 + B * -.0813 + 128.;
                SCR_CaptureVideo_RIFF_Push("vprp", NULL);
                SCR_CaptureVideo_RIFF_Write32(0); // VideoFormatToken
                SCR_CaptureVideo_RIFF_Write32(0); // VideoStandard
-               SCR_CaptureVideo_RIFF_Write32(cls.capturevideo.framerate); // dwVerticalRefreshRate (bogus)
+               SCR_CaptureVideo_RIFF_Write32((int)cls.capturevideo.framerate); // dwVerticalRefreshRate (bogus)
                SCR_CaptureVideo_RIFF_Write32(width); // dwHTotalInT
                SCR_CaptureVideo_RIFF_Write32(height); // dwVTotalInLines
                FindFraction(aspect, &n, &d, 1000);