mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
Fixed data type warnings
This commit is contained in:
parent
ebf44f80eb
commit
24bd601f8d
@ -241,7 +241,7 @@ static int nla_client_init(rdpNla* nla)
|
|||||||
settings->DisableCredentialsDelegation = TRUE;
|
settings->DisableCredentialsDelegation = TRUE;
|
||||||
|
|
||||||
if (is_empty(settings->Username) ||
|
if (is_empty(settings->Username) ||
|
||||||
(is_empty(settings->Password) && is_empty(settings->RedirectionPassword)))
|
(is_empty(settings->Password) && is_empty((const char*)settings->RedirectionPassword)))
|
||||||
{
|
{
|
||||||
PromptPassword = TRUE;
|
PromptPassword = TRUE;
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#define TEXT_FORMATS_COUNT 2
|
#define TEXT_FORMATS_COUNT 2
|
||||||
|
|
||||||
/* used for createing a fake format list response, containing only text formats */
|
/* used for createing a fake format list response, containing only text formats */
|
||||||
static CLIPRDR_FORMAT g_text_formats[] = { { CF_TEXT, '\0' }, { CF_UNICODETEXT, '\0' } };
|
static CLIPRDR_FORMAT g_text_formats[] = { { CF_TEXT, "\0" }, { CF_UNICODETEXT, "\0" } };
|
||||||
|
|
||||||
BOOL pf_server_cliprdr_init(pServerContext* ps)
|
BOOL pf_server_cliprdr_init(pServerContext* ps)
|
||||||
{
|
{
|
||||||
@ -428,4 +428,4 @@ void pf_cliprdr_register_callbacks(CliprdrClientContext* cliprdr_client,
|
|||||||
cliprdr_client->ServerFormatDataResponse = pf_cliprdr_ServerFormatDataResponse;
|
cliprdr_client->ServerFormatDataResponse = pf_cliprdr_ServerFormatDataResponse;
|
||||||
cliprdr_client->ServerFileContentsRequest = pf_cliprdr_ServerFileContentsRequest;
|
cliprdr_client->ServerFileContentsRequest = pf_cliprdr_ServerFileContentsRequest;
|
||||||
cliprdr_client->ServerFileContentsResponse = pf_cliprdr_ServerFileContentsResponse;
|
cliprdr_client->ServerFileContentsResponse = pf_cliprdr_ServerFileContentsResponse;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user