Skip to content
Snippets Groups Projects
Commit 94c2e8ba authored by Alan Coopersmith's avatar Alan Coopersmith
Browse files

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: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 19bea63b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment