summaryrefslogtreecommitdiff
path: root/widgets.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-02 11:35:43 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-02 11:35:43 -0700
commit43c19175385f98894c1633ed57ec6778e17a38a6 (patch)
tree106eae499b079accde836a99283f4f8e86daf9f7 /widgets.c
parent2b838dbd23f2ae2a3ff479003b13e03563624009 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets.c b/widgets.c
index 0bee2db..f3ad877 100644
--- a/widgets.c
+++ b/widgets.c
@@ -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;
};