com php-src: fix compiler warning: ext/intl/calendar/calendar _methods.cpp

From: Date: Tue, 26 Jul 2016 05:53:24 +0000
Subject: com php-src: fix compiler warning: ext/intl/calendar/calendar _methods.cpp
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-93398@lists.php.net to get a copy of this message
Commit: 893e3b06eade38545b9802a3f06a989b265df0bf Author: Anatol Belski <ab@php.net> Mon, 25 Jul 2016 23:02:09 +0200 Parents: 3958f7af004f62ddc50a98295af5002166ee748d Branches: PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=893e3b06eade38545b9802a3f06a989b265df0bf Log: fix compiler warning Changed paths: M ext/intl/calendar/calendar_methods.cpp Diff: diff --git a/ext/intl/calendar/calendar_methods.cpp b/ext/intl/calendar/calendar_methods.cpp index 155ed5f..590917d 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;

« previous php.cvs (#93398) next »