changeset 11883:ddc5961c9f36

(unload_color): Cast args of XFreeColors.
author Karl Heuer <kwzh@gnu.org>
date Tue, 23 May 1995 03:03:23 +0000
parents 8b3575269610
children 13f0227c7c56
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Tue May 23 03:02:53 1995 +0000
+++ b/src/xfaces.c	Tue May 23 03:03:23 1995 +0000
@@ -370,7 +370,7 @@
     return;
   cmap = DefaultColormapOfScreen (DefaultScreenOfDisplay (dpy));
   BLOCK_INPUT;
-  XFreeColors (dpy, cmap, &pixel, 1, 0);
+  XFreeColors (dpy, cmap, &pixel, 1, (unsigned long)0);
   UNBLOCK_INPUT;
 }