other 64bit warning fix

This commit is contained in:
Chris Marsh 2017-08-02 17:37:58 -07:00
parent ee11358d7f
commit f06b187d2d

View file

@ -66,7 +66,7 @@ static int prompt(char* line, size_t size)
char* nl; char* nl;
printf("\n> "); printf("\n> ");
fflush(stdout); fflush(stdout);
res = fgets(line, size, stdin) ? 1 : 0; res = fgets(line, (int)size, stdin) ? 1 : 0;
line[size - 1] = 0; line[size - 1] = 0;
nl = strchr(line, '\n'); nl = strchr(line, '\n');
if (nl) { if (nl) {