summaryrefslogtreecommitdiff
path: root/widgets.c
diff options
context:
space:
mode:
authorWalter Harms <xt4ever@web.de>2023-04-07 13:03:39 +0200
committerWalter Harms <xt4ever@web.de>2023-04-07 13:03:39 +0200
commit316df270e14ce13a3a631cdfd383a5a367fe14b0 (patch)
tree8790e49bffc54c13258357e47bfb73c10ba893be /widgets.c
parent417f15e05e739e171b36dfa643b6418dc07ab6bc (diff)
stop const warnings
fix passing argument 1 of ‘RebuildMenusAndLabel’ discards ‘const’ qualifier from pointer target type only user is in comm.c
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 95006f3..6a56020 100644
--- a/widgets.c
+++ b/widgets.c
@@ -138,7 +138,7 @@ static XtResource resources[] = {
#undef Offset
void
-RebuildMenusAndLabel(String toolkit)
+RebuildMenusAndLabel(const char *toolkit)
{
if (strcmp(global_effective_toolkit, toolkit)) {
CreateCommandMenu(box, toolkit);