com php-src: Compilation warning fix: ext/intl/intl_convert .c
| From: | Sara Golemon | Date: | Tue, 13 Dec 2016 07:25:40 +0000 |
| Subject: | com php-src: Compilation warning fix: ext/intl/intl_convert .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96315@lists.php.net to get a copy of this message | ||
Commit: 448a5b38e60048238603e07092d4e3b2613a9b80
Author: Sara Golemon <pollita@php.net> Mon, 12 Dec 2016 21:35:05 -0800
Parents: 675fc9e04ea8de6a29fd6b34ec0e3f4abbfb0b09
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=448a5b38e60048238603e07092d4e3b2613a9b80
Log:
Compilation warning fix
u_strFromUTF8() argument dst_len should be int32_t, not uint32_t
Changed paths:
M ext/intl/intl_convert.c
Diff:
diff --git a/ext/intl/intl_convert.c b/ext/intl/intl_convert.c
index 5092b75..2ae43fb 100644
--- a/ext/intl/intl_convert.c
+++ b/ext/intl/intl_convert.c
@@ -53,7 +53,7 @@ void intl_convert_utf8_to_utf16(
UErrorCode* status )
{
UChar* dst_buf = NULL;
- uint32_t dst_len = 0;
+ int32_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