]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - svvm_cmds.c
Fixed a large number of WIN64 type conversion warnings.
[xonotic/darkplaces.git] / svvm_cmds.c
index cc4d7e1157ce925e9fd89d598710de0f0fb423e6..ff55c4fde46479e66de9f4ae38559fc6b2d974d5 100644 (file)
@@ -1496,8 +1496,8 @@ static void VM_SV_WritePicture(prvm_prog_t *prog)
        if(Image_Compress(imgname, size, &buf, &size))
        {
                // actual picture
-               MSG_WriteShort(WriteDest(prog), size);
-               SZ_Write(WriteDest(prog), (unsigned char *) buf, size);
+               MSG_WriteShort(WriteDest(prog), (int)size);
+               SZ_Write(WriteDest(prog), (unsigned char *) buf, (int)size);
        }
        else
        {