Fixed funtion to function pointer argument mismatch

This commit is contained in:
Armin Novak 2018-08-01 11:56:04 +02:00
parent 0352dc3d6c
commit eed5a41b6e
1 changed files with 1 additions and 3 deletions

View File

@ -172,7 +172,7 @@ BOOL freerdp_client_print_command_line_help_ex(int argc, char** argv,
}
static int freerdp_client_command_line_pre_filter(void* context, int index,
int argc, LPCSTR* argv)
int argc, LPSTR* argv)
{
if (index == 1)
{
@ -592,9 +592,7 @@ static char** freerdp_command_line_parse_comma_separated_values_ex(const char* n
{
char* dst = (char*)&p[1];
p[0] = dst;
strncpy(dst, name, len);
*count = 1;
return p;
}