Fixed varialbe integer type warning

This commit is contained in:
Armin Novak 2021-10-06 09:43:37 +02:00 committed by akallabeth
parent da3c1197a2
commit 0816d32823

View File

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