aboutsummaryrefslogtreecommitdiff
path: root/locale/weight.h
diff options
context:
space:
mode:
Diffstat (limited to 'locale/weight.h')
-rw-r--r--locale/weight.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/weight.h b/locale/weight.h
index 904a154f82..c7a9f96c24 100644
--- a/locale/weight.h
+++ b/locale/weight.h
@@ -92,7 +92,7 @@ get_weight (const STRING_TYPE **str, weight_t *result)
}
}
- if (__collate_table[slot + 1] != FORWARD_CHAR)
+ if (__collate_table[slot + 1] != (u_int32_t) FORWARD_CHAR)
{
/* We have a simple form. One one value for each weight. */
size_t cnt;