Fixed varialbe integer type warning
This commit is contained in:
parent
da3c1197a2
commit
0816d32823
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user