diff options
Diffstat (limited to 'php/src/IcePHP/Endpoint.cpp')
-rw-r--r-- | php/src/IcePHP/Endpoint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php/src/IcePHP/Endpoint.cpp b/php/src/IcePHP/Endpoint.cpp index 5a1599fe972..45f1a540055 100644 --- a/php/src/IcePHP/Endpoint.cpp +++ b/php/src/IcePHP/Endpoint.cpp @@ -60,7 +60,7 @@ ZEND_METHOD(Ice_Endpoint, __toString) try { string str = _this->toString(); - RETURN_STRINGL(STRCAST(str.c_str()), str.length(), 1); + RETURN_STRINGL(STRCAST(str.c_str()), static_cast<int>(str.length()), 1); } catch(const IceUtil::Exception& ex) { |