Minor signed/unsigned fix...ZIP_isDirectory() now seems to work.
This commit is contained in:
parent
1f5b571be7
commit
d40d951594
|
@ -1260,7 +1260,7 @@ static PHYSFS_sint64 ZIP_getLastModTime(DirHandle *h,
|
||||||
static int ZIP_isDirectory(DirHandle *h, const char *name, int *fileExists)
|
static int ZIP_isDirectory(DirHandle *h, const char *name, int *fileExists)
|
||||||
{
|
{
|
||||||
ZIPinfo *info = (ZIPinfo *) h->opaque;
|
ZIPinfo *info = (ZIPinfo *) h->opaque;
|
||||||
PHYSFS_uint32 pos;
|
PHYSFS_sint32 pos;
|
||||||
ZIPentry *entry;
|
ZIPentry *entry;
|
||||||
|
|
||||||
pos = zip_find_start_of_dir(info, name, 1);
|
pos = zip_find_start_of_dir(info, name, 1);
|
||||||
|
|
Loading…
Reference in New Issue