Przeglądaj źródła

Fixed compiler warning.

Ryan C. Gordon 8 lat temu
rodzic
commit
32930ef41d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/physfs_archiver_zip.c

+ 1 - 1
src/physfs_archiver_zip.c

@@ -322,7 +322,7 @@ static PHYSFS_sint64 ZIP_read(PHYSFS_Io *_io, void *buf, PHYSFS_uint64 len)
 
         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)