Fixed some type mismatches.
This commit is contained in:
parent
d3336340ba
commit
d98e485ac0
@ -224,7 +224,7 @@ BOOL freerdp_check_fds(freerdp* instance)
|
||||
|
||||
DWORD freerdp_get_event_handles(rdpContext* context, HANDLE* events, DWORD count)
|
||||
{
|
||||
UINT32 nCount = 0;
|
||||
DWORD nCount = 0;
|
||||
|
||||
nCount += transport_get_event_handles(context->rdp->transport, events, count);
|
||||
|
||||
|
@ -688,7 +688,7 @@ BOOL rdg_in_channel_recv(rdpRdg* rdg)
|
||||
|
||||
DWORD rdg_get_event_handles(rdpRdg* rdg, HANDLE* events, DWORD count)
|
||||
{
|
||||
UINT32 nCount = 0;
|
||||
DWORD nCount = 0;
|
||||
|
||||
assert(rdg != NULL);
|
||||
|
||||
@ -973,7 +973,7 @@ BOOL rdg_tls_in_connect(rdpRdg* rdg, const char* hostname, UINT16 port, int time
|
||||
BOOL rdg_out_channel_connect(rdpRdg* rdg, const char* hostname, UINT16 port, int timeout)
|
||||
{
|
||||
BOOL status;
|
||||
UINT32 nCount;
|
||||
DWORD nCount;
|
||||
HANDLE events[8];
|
||||
|
||||
assert(hostname != NULL);
|
||||
@ -1011,7 +1011,7 @@ BOOL rdg_out_channel_connect(rdpRdg* rdg, const char* hostname, UINT16 port, int
|
||||
BOOL rdg_in_channel_connect(rdpRdg* rdg, const char* hostname, UINT16 port, int timeout)
|
||||
{
|
||||
BOOL status;
|
||||
UINT32 nCount;
|
||||
DWORD nCount;
|
||||
HANDLE events[8];
|
||||
|
||||
assert(hostname != NULL);
|
||||
@ -1049,7 +1049,7 @@ BOOL rdg_in_channel_connect(rdpRdg* rdg, const char* hostname, UINT16 port, int
|
||||
BOOL rdg_tunnel_connect(rdpRdg* rdg)
|
||||
{
|
||||
BOOL status;
|
||||
UINT32 nCount;
|
||||
DWORD nCount;
|
||||
HANDLE events[8];
|
||||
|
||||
rdg_send_handshake(rdg);
|
||||
|
@ -656,10 +656,10 @@ out_cleanup:
|
||||
return status;
|
||||
}
|
||||
|
||||
UINT32 transport_get_event_handles(rdpTransport* transport, HANDLE* events, DWORD count)
|
||||
DWORD transport_get_event_handles(rdpTransport* transport, HANDLE* events, DWORD count)
|
||||
{
|
||||
UINT32 nCount = 0;
|
||||
UINT32 tmp;
|
||||
DWORD nCount = 0;
|
||||
DWORD tmp;
|
||||
|
||||
if (!transport->GatewayEnabled)
|
||||
{
|
||||
@ -696,8 +696,8 @@ UINT32 transport_get_event_handles(rdpTransport* transport, HANDLE* events, DWOR
|
||||
|
||||
void transport_get_fds(rdpTransport* transport, void** rfds, int* rcount)
|
||||
{
|
||||
UINT32 index;
|
||||
UINT32 nCount;
|
||||
DWORD index;
|
||||
DWORD nCount;
|
||||
HANDLE events[64];
|
||||
|
||||
nCount = transport_get_event_handles(transport, events, 64);
|
||||
|
Loading…
Reference in New Issue
Block a user