archivers/zip.c
changeset 579 4170811a0439
parent 578 bff1af8455ca
child 644 1cb5533d369c
child 716 79f7909d5437
equal deleted inserted replaced
578:bff1af8455ca 579:4170811a0439
  1185 
  1185 
  1186 static PHYSFS_sint32 zip_find_start_of_dir(ZIPinfo *info, const char *path,
  1186 static PHYSFS_sint32 zip_find_start_of_dir(ZIPinfo *info, const char *path,
  1187                                             int stop_on_first_find)
  1187                                             int stop_on_first_find)
  1188 {
  1188 {
  1189     PHYSFS_sint32 lo = 0;
  1189     PHYSFS_sint32 lo = 0;
  1190     PHYSFS_sint32 hi = (PHYSFS_sint32) info->entryCount;
  1190     PHYSFS_sint32 hi = (PHYSFS_sint32) (info->entryCount - 1);
  1191     PHYSFS_sint32 middle;
  1191     PHYSFS_sint32 middle;
  1192     PHYSFS_uint32 dlen = strlen(path);
  1192     PHYSFS_uint32 dlen = strlen(path);
  1193     PHYSFS_sint32 retval = -1;
  1193     PHYSFS_sint32 retval = -1;
  1194     const char *name;
  1194     const char *name;
  1195     int rc;
  1195     int rc;