summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-05-23 03:03:23 +0000
committerKarl Heuer <kwzh@gnu.org>1995-05-23 03:03:23 +0000
commit9979f31cb1992a09a0602a099dfceefca39edf49 (patch)
tree763b46a96b2e292b13df30b83e1b11aaa5e7f511
parent33bd1a61ed708ac60655a4222d5e4538e2e5c1c2 (diff)
downloademacs-9979f31cb1992a09a0602a099dfceefca39edf49.tar.gz
(unload_color): Cast args of XFreeColors.
-rw-r--r--src/xfaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 1dfe6bb2292..24719321ae6 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -370,7 +370,7 @@ unload_color (f, pixel)
return;
cmap = DefaultColormapOfScreen (DefaultScreenOfDisplay (dpy));
BLOCK_INPUT;
- XFreeColors (dpy, cmap, &pixel, 1, 0);
+ XFreeColors (dpy, cmap, &pixel, 1, (unsigned long)0);
UNBLOCK_INPUT;
}