summaryrefslogtreecommitdiff
path: root/php/src/IcePHP/Connection.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2009-07-06 09:16:51 -0700
committerMark Spruiell <mes@zeroc.com>2009-07-06 09:16:51 -0700
commitb40a7dd2cfa5402a0e6120706795235170a392bd (patch)
tree93cda1ae6936a902caa6c119fdfd5c15b0526858 /php/src/IcePHP/Connection.cpp
parentFixed bug 4147 - endpoint selection bug (diff)
downloadice-b40a7dd2cfa5402a0e6120706795235170a392bd.tar.bz2
ice-b40a7dd2cfa5402a0e6120706795235170a392bd.tar.xz
ice-b40a7dd2cfa5402a0e6120706795235170a392bd.zip
bug 2718 - string conversion warnings in PHP extension
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 e4bad5a0352..6049562262a 100644
--- a/php/src/IcePHP/Connection.cpp
+++ b/php/src/IcePHP/Connection.cpp
@@ -68,7 +68,7 @@ ZEND_METHOD(Ice_Connection, close)
assert(_this);
zend_bool b;
- if(zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &b TSRMLS_CC) != SUCCESS)
+ if(zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, const_cast<char*>("b"), &b TSRMLS_CC) != SUCCESS)
{
RETURN_NULL();
}