summaryrefslogtreecommitdiff
path: root/src/Convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Convert.c')
-rw-r--r--src/Convert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Convert.c b/src/Convert.c
index 9b2d465..440d624 100644
--- a/src/Convert.c
+++ b/src/Convert.c
@@ -608,8 +608,8 @@ ComputeArgs(Widget widget,
/* Convert in place for next usage */
convert_args[i].address_mode = XtResourceQuark;
convert_args[i].address_id =
- (XtPointer) (long) XrmStringToQuark((String) convert_args[i].
- address_id);
+ (XtPointer) (XtIntPtr) XrmStringToQuark((String) convert_args[i].
+ address_id);
/* Fall through */
case XtResourceQuark: