]> sourceware.org Git - glibc.git/commitdiff
Fix constness error just introduced in findlocale.
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 26 Feb 2015 05:46:02 +0000 (02:46 -0300)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 26 Feb 2015 05:46:02 +0000 (02:46 -0300)
for  ChangeLog

[BZ #15969]
* locale/findlocale.c (_nl_find_locale): Fix constness error in
the previous change.

ChangeLog
locale/findlocale.c

index 0d7cf377acd3c6486ce86d2420259ac1c42d9a60..4fbd340764398559117122bbd72a2451daf75130 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 360f58b904dfc7835c3d6e70cd4dc2ef2e729178..5e2639b87bb48d22e0c30b283b81ade0dfea2636 100644 (file)
@@ -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;
        }
This page took 0.123668 seconds and 5 git commands to generate.