]> git.eshelyaron.com Git - emacs.git/commitdiff
(unload_color): Cast args of XFreeColors.
authorKarl Heuer <kwzh@gnu.org>
Tue, 23 May 1995 03:03:23 +0000 (03:03 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 23 May 1995 03:03:23 +0000 (03:03 +0000)
src/xfaces.c

index 1dfe6bb22920216f7d448d203b9e8512d41cef5a..24719321ae6570f69758951cf041a306a4f11584 100644 (file)
@@ -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;
 }