From: sajt Date: Tue, 9 Oct 2007 19:44:32 +0000 (+0000) Subject: fix a warning in msvc6 X-Git-Tag: xonotic-v0.1.0preview~2864 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=9ab9ea54e45625b11ba34b5fa60f3bd97f9733f5 fix a warning in msvc6 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7614 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_screen.c b/cl_screen.c index c2efe5d7..2a83ee0c 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -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);