diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-03-02 17:38:24 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-03-02 17:38:24 -0800 |
commit | 94c2e8ba375d968bd648097a484edac5d1c87c78 (patch) | |
tree | a25a40bc4dcad3e5519d2c483722f1023b9badf0 | |
parent | 19bea63b9b39d83da9b4aa277cc1db967a4928bd (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>
-rw-r--r-- | src/dmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |