Fixed one more Visual Studio compiler warning.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 14 Aug 2017 21:22:30 -0400
changeset 1584 d9349944bb52
parent 1583 66ed1e1d525b
child 1585 17acf7df0c38
Fixed one more Visual Studio compiler warning.
src/physfs_archiver_zip.c
--- a/src/physfs_archiver_zip.c	Mon Aug 14 21:17:22 2017 -0400
+++ b/src/physfs_archiver_zip.c	Mon Aug 14 21:22:30 2017 -0400
@@ -1224,7 +1224,7 @@
     if ((offset < pos) && (pos > 4))
     {
         const size_t maxbuflen = 256 * 1024;
-        size_t len = pos - offset;
+        size_t len = (size_t) (pos - offset);
         PHYSFS_uint8 *buf = NULL;
         PHYSFS_sint32 i;