archivers/qpak.c
changeset 494 364e564a26e2
parent 467 99664d9842cb
child 504 3420d82f9b01
--- a/archivers/qpak.c	Mon Sep 23 18:33:57 2002 +0000
+++ b/archivers/qpak.c	Mon Sep 23 18:35:12 2002 +0000
@@ -192,7 +192,7 @@
 static int qpak_loadEntries(void *fh, int dirOffset, int numEntries,
                             QPAKentry *entries)
 {
-    PHYSFS_uint32 i;
+    PHYSFS_sint32 i;
 
     BAIL_IF_MACRO(__PHYSFS_platformSeek(fh, dirOffset) == 0, NULL, 0);
 
@@ -403,7 +403,7 @@
 static int qpak_populateDirectories(QPAKentry *entries, int numEntries,
                                     QPAKdirectory *root)
 {
-    PHYSFS_uint32 i;
+    PHYSFS_sint32 i;
     QPAKentry *entry = entries;
 
     for (i = 0; i < numEntries; i++, entry++)