summaryrefslogtreecommitdiff
path: root/locale/programs/ld-collate.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/ld-collate.c')
-rw-r--r--locale/programs/ld-collate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index 629df90ced..4bdf0b2256 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -233,7 +233,7 @@ collate_finish (struct localedef_t *locale, struct charset_t *charset)
else if (find_entry (&collate->symbols, patch->token, toklen, &ptmp)
>= 0)
{
- value = (unsigned int) ptmp;
+ value = (unsigned long int) ptmp;
}
else
value = 0;