Skip to content

Commit c19d434

Browse files
committed
rofs: Fixed compiler warnings.
1 parent 8a90802 commit c19d434

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/physfs_archiver_rofs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ static int rofs_depack_block(ROFSfileinfo *finfo, void *buffer,
206206
{
207207
ROFSentry *entry = finfo->entry;
208208
PHYSFS_uint8 *dstBuffer = (PHYSFS_uint8 *) buffer;
209-
int dstIndex = 0;
209+
PHYSFS_uint32 dstIndex = 0;
210210

211211
if (!finfo->depack.lzss_dict) {
212212
return(0);
@@ -660,7 +660,7 @@ static int rofs_load_header(ROFSinfo *info)
660660
static int rofs_load_entries(ROFSinfo *info)
661661
{
662662
PHYSFS_Io *io = info->io;
663-
int i;
663+
PHYSFS_uint32 i;
664664

665665
BAIL_IF_ERRPASS(!io->seek(io, sizeof(rofs_id)), 0);
666666
BAIL_IF_ERRPASS(!rofs_load_header(info), 0);

0 commit comments

Comments
 (0)