summaryrefslogtreecommitdiff
path: root/php/src/IcePHP/Init.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/Init.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/Init.cpp')
-rw-r--r--php/src/IcePHP/Init.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/php/src/IcePHP/Init.cpp b/php/src/IcePHP/Init.cpp
index 6ffa681f534..e2c2d918da8 100644
--- a/php/src/IcePHP/Init.cpp
+++ b/php/src/IcePHP/Init.cpp
@@ -58,10 +58,10 @@ ZEND_GET_MODULE(ice)
// Declare initialization file entries.
//
PHP_INI_BEGIN()
- PHP_INI_ENTRY("ice.config", "", PHP_INI_SYSTEM, 0)
- PHP_INI_ENTRY("ice.options", "", PHP_INI_SYSTEM, 0)
- PHP_INI_ENTRY("ice.profiles", "", PHP_INI_SYSTEM, 0)
- PHP_INI_ENTRY("ice.hide_profiles", "1", PHP_INI_SYSTEM, 0)
+ PHP_INI_ENTRY(const_cast<char*>("ice.config"), const_cast<char*>(""), PHP_INI_SYSTEM, 0)
+ PHP_INI_ENTRY(const_cast<char*>("ice.options"), const_cast<char*>(""), PHP_INI_SYSTEM, 0)
+ PHP_INI_ENTRY(const_cast<char*>("ice.profiles"), const_cast<char*>(""), PHP_INI_SYSTEM, 0)
+ PHP_INI_ENTRY(const_cast<char*>("ice.hide_profiles"), const_cast<char*>("1"), PHP_INI_SYSTEM, 0)
PHP_INI_END()
extern "C"