summaryrefslogtreecommitdiff
path: root/php/src/IcePHP/Connection.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-10-13 22:36:50 +0200
committerJose <jose@zeroc.com>2014-10-13 22:36:50 +0200
commit0402bdc5b5a7848fc0eab53fe6ae1b12df487a49 (patch)
tree5e61722a047577bb245bc39300d8250514672b60 /php/src/IcePHP/Connection.cpp
parentupdating CHANGES for AsyncResult.cancel (diff)
downloadice-0402bdc5b5a7848fc0eab53fe6ae1b12df487a49.tar.bz2
ice-0402bdc5b5a7848fc0eab53fe6ae1b12df487a49.tar.xz
ice-0402bdc5b5a7848fc0eab53fe6ae1b12df487a49.zip
Fixed (ICE-5710) - Source support for PHP x64 on Windows
Diffstat (limited to 'php/src/IcePHP/Connection.cpp')
-rw-r--r--php/src/IcePHP/Connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/src/IcePHP/Connection.cpp b/php/src/IcePHP/Connection.cpp
index 899b442af02..5e030e8144c 100644
--- a/php/src/IcePHP/Connection.cpp
+++ b/php/src/IcePHP/Connection.cpp
@@ -61,7 +61,7 @@ ZEND_METHOD(Ice_Connection, __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)
{