about summary refs log tree commit diff
path: root/string/strxfrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/strxfrm.c')
-rw-r--r--string/strxfrm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/strxfrm.c b/string/strxfrm.c
index 344e65b957..67d15d5b4b 100644
--- a/string/strxfrm.c
+++ b/string/strxfrm.c
@@ -191,7 +191,7 @@ STRXFRM (char *dest, const char *src, size_t n, __locale_t l)
     {
       int32_t tmp = findidx (&usrc);
       rulearr[idxmax] = tmp >> 24;
-      idxarr[idxmax] = tmp & 0x80ffffff;
+      idxarr[idxmax] = tmp & 0xffffff;
 
       ++idxmax;
     }