summaryrefslogtreecommitdiff
path: root/ext/intl/collator/collator_is_numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/collator/collator_is_numeric.c')
-rw-r--r--ext/intl/collator/collator_is_numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/collator/collator_is_numeric.c b/ext/intl/collator/collator_is_numeric.c
index 4f6efbfa6d..e3535e7d4b 100644
--- a/ext/intl/collator/collator_is_numeric.c
+++ b/ext/intl/collator/collator_is_numeric.c
@@ -70,7 +70,7 @@ static double collator_u_strtod(const UChar *nptr, UChar **endptr) /* {{{ */
if (any) {
char buf[64], *numbuf, *bufpos;
- int length = u - nstart;
+ size_t length = u - nstart;
double value;
if (length < sizeof(buf)) {