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

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

Ryan C. Gordon пре 24 година
родитељ
комит
d40d951594
1 измењених фајлова са 1 додато и 1 уклоњено
  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);