summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-03-02 17:38:24 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-03-02 17:38:24 -0800
commit94c2e8ba375d968bd648097a484edac5d1c87c78 (patch)
treea25a40bc4dcad3e5519d2c483722f1023b9badf0 /src
parent19bea63b9b39d83da9b4aa277cc1db967a4928bd (diff)
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 <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/dmx.c2
1 files changed, 1 insertions, 1 deletions
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)