diff options
Diffstat (limited to 'xrdp')
-rw-r--r-- | xrdp/xrdp.h | 5 | ||||
-rw-r--r-- | xrdp/xrdp_wm.c | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/xrdp/xrdp.h b/xrdp/xrdp.h index a84a4c07..13bd398c 100644 --- a/xrdp/xrdp.h +++ b/xrdp/xrdp.h @@ -134,8 +134,9 @@ xrdp_wm_send_pointer(struct xrdp_wm* self, int cache_idx, int APP_CC xrdp_wm_pointer(struct xrdp_wm* self, char* data, char* mask, int x, int y, int bpp); -int -callback(long id, int msg, long param1, long param2, long param3, long param4); +int DEFAULT_CC +callback(intptr_t id, int msg, intptr_t param1, intptr_t param2, + intptr_t param3, intptr_t param4); int APP_CC xrdp_wm_delete_all_children(struct xrdp_wm* self); int APP_CC diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c index 9db41c0b..9b55c5bd 100644 --- a/xrdp/xrdp_wm.c +++ b/xrdp/xrdp_wm.c @@ -1744,7 +1744,8 @@ xrdp_wm_process_channel_data(struct xrdp_wm *self, /******************************************************************************/ /* this is the callbacks coming from libxrdp.so */ int DEFAULT_CC -callback(long id, int msg, long param1, long param2, long param3, long param4) +callback(intptr_t id, int msg, intptr_t param1, intptr_t param2, + intptr_t param3, intptr_t param4) { int rv; struct xrdp_wm *wm; |