aboutsummaryrefslogtreecommitdiff
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 344e65b..67d15d5 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;
}