other 64bit warning fix
This commit is contained in:
parent
ee11358d7f
commit
f06b187d2d
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue