diff options
author | Matt Turner <mattst88@gmail.com> | 2020-03-27 09:56:26 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2020-03-27 09:56:26 -0700 |
commit | 15be5d8d295f4d7c779845cd11e06c08cfacad85 (patch) | |
tree | 70f08895fb8401c344909870344d4656e247a82e | |
parent | a97f306fd57878158962eb873c23f03a5c6da9db (diff) |
Add const to silence warning
widgets.c:817:28: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | widgets.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -814,7 +814,7 @@ MakeBoxLookNice(Widget dot, Widget star, Widget any, Widget single, * Returns: none */ -static char* noneList[] = {"None"}; +static const char *noneList[] = {"None"}; static void CreateLists(Widget parent, WNode *node, char **names, char **cons_names) |