Fixed varialbe integer type warning
@@ -508,7 +508,7 @@ BOOL client_cli_gw_authenticate(freerdp* instance, char** username, char** passw
static DWORD client_cli_accept_certificate(rdpSettings* settings)
{
- char answer;
+ int answer;
if (settings->CredentialsFromStdin)
return 0;
@@ -767,7 +767,7 @@ BOOL client_cli_present_gateway_message(freerdp* instance, UINT32 type, BOOL isD
BOOL isConsentMandatory, size_t length,
const WCHAR* message)
{
- char answer;
+ int answer;
const char* msgType = (type == GATEWAY_MESSAGE_CONSENT) ? "Consent message" : "Service message";
if (!isDisplayMandatory && !isConsentMandatory)
