Minor signed/unsigned fix...ZIP_isDirectory() now seems to work.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 21 Aug 2002 04:13:56 +0000
changeset 468 ac9c7e9626d3
parent 467 99664d9842cb
child 469 e41c2b9bf868
Minor signed/unsigned fix...ZIP_isDirectory() now seems to work.
archivers/zip.c
--- a/archivers/zip.c	Wed Aug 21 02:59:15 2002 +0000
+++ b/archivers/zip.c	Wed Aug 21 04:13:56 2002 +0000
@@ -1260,7 +1260,7 @@
 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);