From 94c2e8ba375d968bd648097a484edac5d1c87c78 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 2 Mar 2012 17:38:24 -0800 Subject: Stop casting away constness on dmx_extension_name Fixes gcc warning: dmx.c: In function 'find_display': dmx.c:78:1: warning: cast discards qualifiers from pointer target type Signed-off-by: Alan Coopersmith --- src/dmx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dmx.c b/src/dmx.c index 7388458..201568e 100644 --- a/src/dmx.c +++ b/src/dmx.c @@ -76,7 +76,7 @@ static /* const */ XExtensionHooks dmx_extension_hooks = { }; static XEXT_GENERATE_FIND_DISPLAY(find_display, dmx_extension_info, - (char *)dmx_extension_name, + dmx_extension_name, &dmx_extension_hooks, 0, NULL) -- cgit v1.2.3