]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
Fix an executable name (darkplaces.exe)
[xonotic/darkplaces.git] / cl_screen.c
index 17ad5a7f2bf122bd45c5ee252d5452edec07bb3a..7e15123c133df5b2f088ab58ed836057818ee428 100644 (file)
@@ -1776,7 +1776,7 @@ static void SCR_CaptureVideo_VideoFrame(int newframestepframenum)
 
 void SCR_CaptureVideo_SoundFrame(const portable_sampleframe_t *paintbuffer, size_t length)
 {
-       cls.capturevideo.soundsampleframe += length;
+       cls.capturevideo.soundsampleframe += (int)length;
        cls.capturevideo.soundframe(paintbuffer, length);
 }