aboutsummaryrefslogtreecommitdiff
path: root/libXmu/src/CrCmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXmu/src/CrCmap.c')
-rw-r--r--libXmu/src/CrCmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libXmu/src/CrCmap.c b/libXmu/src/CrCmap.c
index 9cb5c81c0..4414b1f27 100644
--- a/libXmu/src/CrCmap.c
+++ b/libXmu/src/CrCmap.c
@@ -496,7 +496,7 @@ RWcell(Display *dpy, Colormap cmap, XColor *color, XColor *request,
static int
compare(_Xconst void *e1, _Xconst void *e2)
{
- return ((int)(*(long *)e1 - *(long *)e2));
+ return ((int)(*(_Xconst long *)e1 - *(_Xconst long *)e2));
}