diff options
Diffstat (limited to 'string')
-rw-r--r-- | string/strxfrm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/string/strxfrm.c b/string/strxfrm.c index 1dc3c47db4..257ce495db 100644 --- a/string/strxfrm.c +++ b/string/strxfrm.c @@ -96,7 +96,7 @@ STRXFRM (STRING_TYPE *dest, const STRING_TYPE *src, size_t n, __locale_t 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 uint32_t nrules = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES); #endif |