mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-11-27 22:44:25 +01:00
other 64bit warning fix
This commit is contained in:
parent
ee11358d7f
commit
f06b187d2d
@ -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 New Issue
Block a user