[utils,passphrase] fix missing char to int cast

This commit is contained in:
akallabeth 2024-09-11 20:16:31 +02:00
parent 861f699d92
commit 62e52b30c8
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -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));