From: Anatol Belski Date: Mon, 25 Jul 2016 21:02:09 +0000 (+0200) Subject: fix compiler warning X-Git-Tag: php-7.1.0beta2~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=893e3b06eade38545b9802a3f06a989b265df0bf;p=php fix compiler warning --- diff --git a/ext/intl/calendar/calendar_methods.cpp b/ext/intl/calendar/calendar_methods.cpp index 155ed5f7f4..590917d272 100644 --- a/ext/intl/calendar/calendar_methods.cpp +++ b/ext/intl/calendar/calendar_methods.cpp @@ -118,7 +118,7 @@ public: } if (resultLength) { //the bug is that uenum_next doesn't set the length - *resultLength = (length == -1) ? strlen(str) : length; + *resultLength = (length == -1) ? (int32_t)strlen(str) : length; } return str;