diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2015-02-26 02:46:02 -0300 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2015-02-26 02:46:02 -0300 |
commit | 23d43090e0b275e47e09e859823e965a1eb323dc (patch) | |
tree | b382bd14ba7c8e25475080771c90b9d0d2206e75 | |
parent | 0d822a016b631aef409df5805f58962fe5bbcdc5 (diff) | |
download | glibc-23d43090e0b275e47e09e859823e965a1eb323dc.zip glibc-23d43090e0b275e47e09e859823e965a1eb323dc.tar.gz glibc-23d43090e0b275e47e09e859823e965a1eb323dc.tar.bz2 |
Fix constness error just introduced in findlocale.
for ChangeLog
[BZ #15969]
* locale/findlocale.c (_nl_find_locale): Fix constness error in
the previous change.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | locale/findlocale.c | 3 |
2 files changed, 7 insertions, 2 deletions
@@ -1,4 +1,8 @@ -2015-02-26 Alexandre Oliva <aoliva@redhat.com> +2015-02-26 Alexandre Oliva <aoliva@redhat.com> + + [BZ #15969] + * locale/findlocale.c (_nl_find_locale): Fix constness error in + the previous change. [BZ #15969] * locale/findlocale.c (_nl_find_locale): Retry archive search diff --git a/locale/findlocale.c b/locale/findlocale.c index 360f58b..5e2639b 100644 --- a/locale/findlocale.c +++ b/locale/findlocale.c @@ -161,7 +161,8 @@ _nl_find_locale (const char *locale_path, size_t locale_path_len, loc_name = (char *) _nl_expand_alias (*name); if (loc_name != NULL) { - data = _nl_load_locale_from_archive (category, &loc_name); + data = _nl_load_locale_from_archive (category, + (const char **) &loc_name); if (__builtin_expect (data != NULL, 1)) return data; } |