summaryrefslogtreecommitdiff
path: root/src/Manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Manage.c')
-rw-r--r--src/Manage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Manage.c b/src/Manage.c
index 77f3d9f..b1ca9c8 100644
--- a/src/Manage.c
+++ b/src/Manage.c
@@ -396,7 +396,7 @@ XtSetMappedWhenManaged(Widget widget, _XtBoolean mapped_when_managed)
call_data.type = XtHsetMappedWhenManaged;
call_data.widget = widget;
- call_data.event_data = (XtPointer) (unsigned long) mapped_when_managed;
+ call_data.event_data = (XtPointer) (XtUIntPtr) mapped_when_managed;
XtCallCallbackList(hookobj,
((HookObject) hookobj)->hooks.changehook_callbacks,
(XtPointer) &call_data);