diff options
Diffstat (limited to 'gdb/charset.c')
-rw-r--r-- | gdb/charset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/charset.c b/gdb/charset.c index 4e459c2..a72eb03 100644 --- a/gdb/charset.c +++ b/gdb/charset.c @@ -271,13 +271,13 @@ show_target_wide_charset_name (struct ui_file *file, value); } -static const char *default_charset_names[] = +static const char * const default_charset_names[] = { DEFAULT_CHARSET_NAMES 0 }; -static const char **charset_enum; +static const char * const *charset_enum; /* If the target wide character set has big- or little-endian @@ -1004,7 +1004,7 @@ _initialize_charset () find_charset_names (); if (charsets.charsets.size () > 1) - charset_enum = (const char **) charsets.charsets.data (); + charset_enum = (const char * const *) charsets.charsets.data (); else charset_enum = default_charset_names; |