summaryrefslogtreecommitdiff
path: root/src/Resources.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Resources.c')
-rw-r--r--src/Resources.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Resources.c b/src/Resources.c
index 4512517..932ba7d 100644
--- a/src/Resources.c
+++ b/src/Resources.c
@@ -336,7 +336,7 @@ BadSize(Cardinal size, XrmQuark name)
String params[2];
Cardinal num_params = 2;
- params[0] = (String) (long) size;
+ params[0] = (String) (XtIntPtr) size;
params[1] = XrmQuarkToString(name);
XtWarningMsg("invalidSizeOverride", "xtDependencies", XtCXtToolkitError,
"Representation size %d must match superclass's to override %s",