Преглед изворни кода

Fixed one more Visual Studio compiler warning.

Ryan C. Gordon пре 8 година
родитељ
комит
b311ee44ad
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/physfs_archiver_zip.c

+ 1 - 1
src/physfs_archiver_zip.c

@@ -1224,7 +1224,7 @@ static PHYSFS_sint64 zip64_find_end_of_central_dir(PHYSFS_Io *io,
     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;