diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-07-08 01:24:31 +0000 |
---|---|---|
committer | Pavel Roskin <plroskin@gmail.com> | 2016-07-08 04:29:56 +0000 |
commit | 0c72ee237192b8e7e73070b6ec9273666b997d26 (patch) | |
tree | 8af80ac5bfd4fe6749ffb1cfa7e82f406dc45c61 /common/trans.h | |
parent | cbe413bd8b9d74b75af90c875c84bdd273752f73 (diff) | |
download | xrdp-proprietary-0c72ee237192b8e7e73070b6ec9273666b997d26.tar.gz xrdp-proprietary-0c72ee237192b8e7e73070b6ec9273666b997d26.zip |
Use char* for TLS send and receive
This is consistent with ssl_tls_read() and ssl_tls_write(). C++ warnings
are fixed without adding any casts.
Diffstat (limited to 'common/trans.h')
-rw-r--r-- | common/trans.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/trans.h b/common/trans.h index 639e64d1..1bb15bcf 100644 --- a/common/trans.h +++ b/common/trans.h @@ -41,8 +41,8 @@ typedef int (DEFAULT_CC *ttrans_data_in)(struct trans* self); typedef int (DEFAULT_CC *ttrans_conn_in)(struct trans* self, struct trans* new_self); typedef int (DEFAULT_CC *tis_term)(void); -typedef int (APP_CC *trans_recv_proc) (struct trans *self, void *ptr, int len); -typedef int (APP_CC *trans_send_proc) (struct trans *self, const void *data, int len); +typedef int (APP_CC *trans_recv_proc) (struct trans *self, char *ptr, int len); +typedef int (APP_CC *trans_send_proc) (struct trans *self, const char *data, int len); typedef int (APP_CC *trans_can_recv_proc) (struct trans *self, int sck, int millis); /* optional source info */ |