Explorar o código

Fixed one more Visual Studio compiler warning.

Ryan C. Gordon %!s(int64=8) %!d(string=hai) anos
pai
achega
b311ee44ad
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;