diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2013-12-29 11:05:48 -0800 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2013-12-29 11:05:48 -0800 |
commit | 1da35290c973aa725d69f89870a139bd06f11c78 (patch) | |
tree | ca2b765ca91407ced6266cce7ebe52cf1778e45f | |
parent | 1a14edde143556281e4751856af231738538e305 (diff) |
Silence const warning
applewm.c:47:14: warning: initializing 'char *' with an expression of type 'const char [9]' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
static char *applewm_extension_name = APPLEWMNAME;
^ ~~~~~~~~~~~
1 warning generated.
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-rw-r--r-- | src/applewm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/applewm.c b/src/applewm.c index e50b6c8..95f0a68 100644 --- a/src/applewm.c +++ b/src/applewm.c @@ -44,7 +44,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. static XExtensionInfo _applewm_info_data; static XExtensionInfo *applewm_info = &_applewm_info_data; -static char *applewm_extension_name = APPLEWMNAME; +static const char *applewm_extension_name = APPLEWMNAME; #define AppleWMCheckExtension(dpy,i,val) \ XextCheckExtension (dpy, i, applewm_extension_name, val) |