Fixed Visual Studio compiler warning.

This commit is contained in:
Ryan C. Gordon 2017-07-17 14:41:48 -04:00
parent a28a01c124
commit 8ebecded22
1 changed files with 2 additions and 2 deletions

View File

@ -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)
@ -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);