]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_demo.c
more size_t
[xonotic/darkplaces.git] / cl_demo.c
index cdf8209cfa086e15278ac48e504f4c034d3da167..865a1b36a5d3152cafdbd76c08ac5bd5043f8002 100644 (file)
--- a/cl_demo.c
+++ b/cl_demo.c
@@ -185,7 +185,7 @@ void CL_ReadDemoMessage(void)
                VectorCopy(cl.mviewangles[0], cl.mviewangles[1]);
                for (i = 0;i < 3;i++)
                {
-                       r = FS_Read(cls.demofile, &f, 4);
+                       r = (int)FS_Read(cls.demofile, &f, 4);
                        cl.mviewangles[0][i] = LittleFloat(f);
                }