Navigation Menu

Skip to content

Commit

Permalink
Fixed Visual Studio compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 17, 2017
1 parent a28a01c commit 8ebecde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_physfs.c
Expand Up @@ -972,7 +972,7 @@ static int cmd_cat2(char *args)
PHYSFS_close(f2);
return 1;
} /* if */
buffer1len += rc;
buffer1len += (size_t) rc;

ptr = realloc(buffer2, buffer2len + readlen);
if (!ptr)
Expand All @@ -997,7 +997,7 @@ static int cmd_cat2(char *args)
PHYSFS_close(f2);
return 1;
} /* if */
buffer2len += rc;
buffer2len += (size_t) rc;
} while (!PHYSFS_eof(f1) || !PHYSFS_eof(f2));

printf("file '%s' ...\n\n", fname1);
Expand Down

0 comments on commit 8ebecde

Please sign in to comment.