diff options
author | jsorg71 <jay.sorg@gmail.com> | 2016-08-05 14:38:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-05 14:38:41 -0700 |
commit | 8353baab3d361bcdebb32f1677dd066e0b255dc9 (patch) | |
tree | 38bd74dc119bdc115d5876383d7a65ff3e19debd /common/trans.h | |
parent | 81fe939dd346420d41eb2afcd6c8c05a422a9e7b (diff) | |
parent | ace7d2c822937a9cb0637946f85d1fbd63562c44 (diff) | |
download | xrdp-proprietary-8353baab3d361bcdebb32f1677dd066e0b255dc9.tar.gz xrdp-proprietary-8353baab3d361bcdebb32f1677dd066e0b255dc9.zip |
Merge pull request #390 from proski/june21
Cleanups and C++ compatibility
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 */ |