author | Ryan C. Gordon <icculus@icculus.org> |
Sun, 20 Jul 2003 21:13:25 +0000 | |
changeset 579 | 4170811a0439 |
parent 578 | bff1af8455ca |
child 580 | 204576df7ccd |
archivers/zip.c | file | annotate | diff | comparison | revisions |
--- a/archivers/zip.c Sun Jul 20 21:08:24 2003 +0000 +++ b/archivers/zip.c Sun Jul 20 21:13:25 2003 +0000 @@ -1187,7 +1187,7 @@ int stop_on_first_find) { PHYSFS_sint32 lo = 0; - PHYSFS_sint32 hi = (PHYSFS_sint32) info->entryCount; + PHYSFS_sint32 hi = (PHYSFS_sint32) (info->entryCount - 1); PHYSFS_sint32 middle; PHYSFS_uint32 dlen = strlen(path); PHYSFS_sint32 retval = -1;