Skip to content

Commit

Permalink
requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gluzskiy Alexandr committed Aug 10, 2020
1 parent b6204a2 commit 4df0eff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions include/freerdp/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ typedef BOOL (*pProxyConnect)(rdpSettings* settings, BIO* bufferedBio, const cha
typedef BOOL (*pTransportAttach)(rdpTransport* transport, int sockfd);
typedef BOOL (*pTransportDisconnect)(rdpTransport* transport);

typedef int (*pRead)(rdpContext* context, const uint8_t* buf, size_t buf_size);
typedef int (*pWrite)(rdpContext* context, const uint8_t* buf, size_t buf_size);
typedef int (*pDataHandler)(rdpContext* context, const uint8_t* buf, size_t buf_size);
typedef int (*pRead)(rdpContext* context, const BYTE* buf, size_t buf_size);
typedef int (*pWrite)(rdpContext* context, const BYTE* buf, size_t buf_size);
typedef int (*pDataHandler)(rdpContext* context, const BYTE* buf, size_t buf_size);

struct rdp_io_update
{
Expand Down
4 changes: 2 additions & 2 deletions libfreerdp/core/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ static BOOL transport_prepare_stream(rdpTransport* transport, wStream* s)
* @param[in] buf_size size_t
* @return count of bytes succesfully handled, -1 on error
*/
static int transport_io_data_handler(rdpContext* context, const uint8_t* buf, size_t buf_size)
static int transport_io_data_handler(rdpContext* context, const BYTE* buf, size_t buf_size)
{
rdpTransport* transport = NULL;
wStream* pdu = NULL;
Expand Down Expand Up @@ -886,7 +886,7 @@ static int transport_io_data_handler(rdpContext* context, const uint8_t* buf, si
* @param[in] buf_size size_t
* @return count of bytes succesfully handled
*/
static int transport_io_data_read(rdpContext* context, const uint8_t* buf, size_t buf_size)
static int transport_io_data_read(rdpContext* context, const BYTE* buf, size_t buf_size)
{
SSIZE_T status;
rdpTransport* transport = NULL;
Expand Down

0 comments on commit 4df0eff

Please sign in to comment.