From 383f77f1802655ab33b1e56614b0bf62da3526aa Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 23 May 1995 03:03:23 +0000 Subject: [PATCH] (unload_color): Cast args of XFreeColors. --- src/xfaces.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2