mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[client,common] fix type mismatch warnings
This commit is contained in:
@@ -5500,14 +5500,14 @@ static int parse_command_line(rdpSettings* settings, const COMMAND_LINE_ARGUMENT
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void warn_credential_args(const COMMAND_LINE_ARGUMENT* args)
|
||||
static void warn_credential_args(const COMMAND_LINE_ARGUMENT_A* args)
|
||||
{
|
||||
WINPR_ASSERT(args);
|
||||
bool insecureArgFound = false;
|
||||
for (size_t x = 0; x < ARRAYSIZE(credential_args); x++)
|
||||
{
|
||||
const char* cred = credential_args[x];
|
||||
const COMMAND_LINE_ARGUMENT* arg = CommandLineFindArgumentA(args, cred);
|
||||
const COMMAND_LINE_ARGUMENT_A* arg = CommandLineFindArgumentA(args, cred);
|
||||
if (!arg)
|
||||
continue;
|
||||
if ((arg->Flags & COMMAND_LINE_ARGUMENT_PRESENT) == 0)
|
||||
|
||||
Reference in New Issue
Block a user