Просмотр исходного кода

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

Ryan C. Gordon 23 лет назад
Родитель
Сommit
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);