Fixed compiler warning.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 26 Jul 2017 16:08:32 -0400
changeset 1522 d3d65a6e715c
parent 1521 0b052d88ca0d
child 1523 2f5293007cff
Fixed compiler warning.
src/physfs_archiver_zip.c
--- a/src/physfs_archiver_zip.c	Wed Jul 26 09:03:04 2017 -0400
+++ b/src/physfs_archiver_zip.c	Wed Jul 26 16:08:32 2017 -0400
@@ -322,7 +322,7 @@
 
         while (retval < maxread)
         {
-            PHYSFS_uint32 before = finfo->stream.total_out;
+            const PHYSFS_uint32 before = (PHYSFS_uint32) finfo->stream.total_out;
             int rc;
 
             if (finfo->stream.avail_in == 0)