[utils,passphrase] fix missing char to int cast
This commit is contained in:
parent
861f699d92
commit
62e52b30c8
@ -260,7 +260,7 @@ int freerdp_interruptible_getc(rdpContext* context, FILE* f)
|
||||
char c = 0;
|
||||
const ssize_t rd = read(fd, &c, 1);
|
||||
if (rd == 1)
|
||||
rc = c;
|
||||
rc = (int)c;
|
||||
break;
|
||||
}
|
||||
} while (!freerdp_shall_disconnect_context(context));
|
||||
|
Loading…
Reference in New Issue
Block a user