Merge pull request #4611 from akallabeth/argument_warnings
Argument warnings
This commit is contained in:
commit
99346d19c6
@ -1425,8 +1425,8 @@ static UINT xf_cliprdr_server_format_data_response(CliprdrClientContext*
|
||||
if (!pDstData)
|
||||
{
|
||||
WLog_ERR(TAG, "failed to get clipboard data in format %s [source format %s]",
|
||||
ClipboardGetFormatName(clipboard, dstFormatId),
|
||||
ClipboardGetFormatName(clipboard, srcFormatId));
|
||||
ClipboardGetFormatName(clipboard->system, dstFormatId),
|
||||
ClipboardGetFormatName(clipboard->system, srcFormatId));
|
||||
return ERROR_INTERNAL_ERROR;
|
||||
}
|
||||
|
||||
|
@ -1191,7 +1191,7 @@ int freerdp_tcp_connect(rdpContext* context, rdpSettings* settings,
|
||||
return -1;
|
||||
}
|
||||
|
||||
if ((peerAddress = freerdp_tcp_address_to_string(addr->ai_addr, NULL)) != NULL)
|
||||
if ((peerAddress = freerdp_tcp_address_to_string((struct sockaddr_storage*)addr->ai_addr, NULL)) != NULL)
|
||||
{
|
||||
WLog_DBG(TAG, "connecting to peer %s", peerAddress);
|
||||
free(peerAddress);
|
||||
|
Loading…
Reference in New Issue
Block a user