From: Karl Heuer Date: Tue, 23 May 1995 03:03:23 +0000 (+0000) Subject: (unload_color): Cast args of XFreeColors. X-Git-Tag: emacs-19.34~3975 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=383f77f1802655ab33b1e56614b0bf62da3526aa;p=emacs.git (unload_color): Cast args of XFreeColors. --- 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; }