From ea9fac94bbae150a81fde0e6542e6b45965772cd Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Thu, 3 Nov 2016 20:36:52 -0700 Subject: More string length checks & fixes --- ext/intl/intl_convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/intl/intl_convert.c') diff --git a/ext/intl/intl_convert.c b/ext/intl/intl_convert.c index 92cdc4cef4..2dde6ad124 100644 --- a/ext/intl/intl_convert.c +++ b/ext/intl/intl_convert.c @@ -49,7 +49,7 @@ void intl_convert_utf8_to_utf16( UErrorCode* status ) { UChar* dst_buf = NULL; - int32_t dst_len = 0; + uint32_t dst_len = 0; /* If *target is NULL determine required destination buffer size (pre-flighting). * Otherwise, attempt to convert source string; if *target buffer is not large enough -- cgit v1.2.1