mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2026-03-07 16:56:30 +00:00
other 64bit warning fix
This commit is contained in:
@@ -66,7 +66,7 @@ static int prompt(char* line, size_t size)
|
||||
char* nl;
|
||||
printf("\n> ");
|
||||
fflush(stdout);
|
||||
res = fgets(line, size, stdin) ? 1 : 0;
|
||||
res = fgets(line, (int)size, stdin) ? 1 : 0;
|
||||
line[size - 1] = 0;
|
||||
nl = strchr(line, '\n');
|
||||
if (nl) {
|
||||
|
||||
Reference in New Issue
Block a user