diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-02 11:35:43 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-02 11:35:43 -0700 |
commit | 43c19175385f98894c1633ed57ec6778e17a38a6 (patch) | |
tree | 106eae499b079accde836a99283f4f8e86daf9f7 /widgets.c | |
parent | 2b838dbd23f2ae2a3ff479003b13e03563624009 (diff) |
Clear 208 out of 210 -Wdiscarded-qualifiers warnings from gcc 7.3
Depends on building with a libXt version that defines String as a
const char * if _CONST_X_STRING is defined.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'widgets.c')
-rw-r--r-- | widgets.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -323,7 +323,7 @@ CreateCommandMenu(Widget parent, String toolkit) #define FLASH 5 struct tree_ops_menu { - char * name; + const char * name; int type; XtPointer data; }; |