]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image_png.c
A few casts and variable type changes to get rid of warnings on Win64. By Willis
[xonotic/darkplaces.git] / image_png.c
index 19304fbcf91256cbd0a60cbfc1bc197c4a612b14..2adb961727a8e7db4ad6cd9dc58c6774e8e1b9b6 100644 (file)
@@ -211,8 +211,8 @@ void PNG_fReadData(void *png, unsigned char *data, size_t length)
                length = l;
        }
        memcpy(data, my_png.tmpBuf + my_png.tmpi, length);
-       my_png.tmpi += length;
-       Com_HexDumpToConsole(data, length);
+       my_png.tmpi += (int)length;
+       Com_HexDumpToConsole(data, (int)length);
 }
 
 void PNG_error_fn(void *png, const char *message)