Ver Fonte

Minor signed/unsigned fix...ZIP_isDirectory() now seems to work.

Ryan C. Gordon há 24 anos atrás
pai
commit
d40d951594
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      archivers/zip.c

+ 1 - 1
archivers/zip.c

@@ -1260,7 +1260,7 @@ static PHYSFS_sint64 ZIP_getLastModTime(DirHandle *h,
 static int ZIP_isDirectory(DirHandle *h, const char *name, int *fileExists)
 {
     ZIPinfo *info = (ZIPinfo *) h->opaque;
-    PHYSFS_uint32 pos;
+    PHYSFS_sint32 pos;
     ZIPentry *entry;
 
     pos = zip_find_start_of_dir(info, name, 1);