aboutsummaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-09-17 05:50:34 +0000
committerUlrich Drepper <drepper@redhat.com>2001-09-17 05:50:34 +0000
commitd8877d65dc66f2e26646d21b4a7516e1f97aca9e (patch)
tree124889aea5f525c519833524e3785b19adbe9ff4 /string
parent69880d1217f3107114bf0b0f37f7eba22317f2fb (diff)
downloadglibc-d8877d65dc66f2e26646d21b4a7516e1f97aca9e.tar
glibc-d8877d65dc66f2e26646d21b4a7516e1f97aca9e.tar.gz
glibc-d8877d65dc66f2e26646d21b4a7516e1f97aca9e.tar.bz2
glibc-d8877d65dc66f2e26646d21b4a7516e1f97aca9e.zip
Update.
2001-09-16 Ulrich Drepper <drepper@redhat.com> * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correct get nrules value.
Diffstat (limited to 'string')
-rw-r--r--string/strcoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/strcoll.c b/string/strcoll.c
index ce8ec04435..f22bd101b2 100644
--- a/string/strcoll.c
+++ b/string/strcoll.c
@@ -60,7 +60,7 @@ STRCOLL (s1, s2, l)
{
#ifdef USE_IN_EXTENDED_LOCALE_MODEL
struct locale_data *current = l->__locales[LC_COLLATE];
- uint_fast32_t nrules = *((const uint32_t *) current->values[_NL_ITEM_INDEX (_NL_COLLATE_NRULES)].string);
+ uint_fast32_t nrules = current->values[_NL_ITEM_INDEX (_NL_COLLATE_NRULES)].word;
#else
uint_fast32_t nrules = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES);
#endif