From 893e3b06eade38545b9802a3f06a989b265df0bf Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 25 Jul 2016 23:02:09 +0200 Subject: [PATCH] fix compiler warning --- ext/intl/calendar/calendar_methods.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0