summaryrefslogtreecommitdiff
path: root/src/ui_dispatch.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-12-24 12:41:33 +0100
committerLars-Dominik Braun <lars@6xq.net>2011-12-24 12:41:33 +0100
commit357153c25547d0e797bbb3d1390a947c4268273e (patch)
tree309ffe06e1327d0bf0c822f27f5807c933ee0432 /src/ui_dispatch.h
parentec635afff07654f4b43ba0859ddeff43bd9315fb (diff)
downloadpianobar-357153c25547d0e797bbb3d1390a947c4268273e.tar.gz
pianobar-357153c25547d0e797bbb3d1390a947c4268273e.tar.bz2
pianobar-357153c25547d0e797bbb3d1390a947c4268273e.zip
Fix warnings found by -Wwrite-strings
Can’t fix all of them; ezxml is a mess :(
Diffstat (limited to 'src/ui_dispatch.h')
-rw-r--r--src/ui_dispatch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui_dispatch.h b/src/ui_dispatch.h
index b2b5a36..4a5f791 100644
--- a/src/ui_dispatch.h
+++ b/src/ui_dispatch.h
@@ -41,9 +41,9 @@ typedef void (*BarKeyShortcutFunc_t) (BarApp_t *, PianoStation_t *,
typedef struct {
BarUiDispatchContext_t context;
BarKeyShortcutFunc_t function;
- char *helpText;
+ const char * const helpText;
char defaultKey;
- char *configKey;
+ const char * const configKey;
} BarUiDispatchAction_t;
#include "ui_act.h"