diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-02-08 09:06:08 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-02-08 09:06:08 +0000 |
commit | 922a57753b1e52c3f1e63554a4c88c173df86287 (patch) | |
tree | 794f0796085fbe04ba931b6275e2b0a6589571a5 /ui/gtk/uat_gui.c | |
parent | 1df459c41503e887f698fbd3101f95fb450ef1e6 (diff) |
Constify the second argument to uat_load(), to squelch some warnings.
svn path=/trunk/; revision=47560
Diffstat (limited to 'ui/gtk/uat_gui.c')
-rw-r--r-- | ui/gtk/uat_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/uat_gui.c b/ui/gtk/uat_gui.c index ea6e8353a2..abcaae80f6 100644 --- a/ui/gtk/uat_gui.c +++ b/ui/gtk/uat_gui.c @@ -732,7 +732,7 @@ static void uat_apply_changes(uat_t *uat) { static void uat_cancel_cb(GtkWidget *button _U_, gpointer u) { uat_t *uat = u; - gchar *err = NULL; + const gchar *err = NULL; if (uat->changed) { uat_clear(uat); @@ -793,7 +793,7 @@ static void uat_clear_cb(GtkButton *button _U_, gpointer u) { static void uat_refresh_cb(GtkButton *button _U_, gpointer u) { uat_t *uat = u; - gchar *err = NULL; + const gchar *err = NULL; guint i; uat_clear_cb(button, u); |