diff options
author | Joe George <joe@zeroc.com> | 2020-12-03 14:27:58 -0500 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2020-12-03 14:27:58 -0500 |
commit | 4c1f266b72ab8bb1bda5a6cb1be087fc3ae2ce73 (patch) | |
tree | f8c9d3fc0b12e738bf2a4a0aa3d23babf7ab16cb /php/src | |
parent | Additional PHP 5 fix to avoid narrowing conversion (diff) | |
download | ice-4c1f266b72ab8bb1bda5a6cb1be087fc3ae2ce73.tar.bz2 ice-4c1f266b72ab8bb1bda5a6cb1be087fc3ae2ce73.tar.xz ice-4c1f266b72ab8bb1bda5a6cb1be087fc3ae2ce73.zip |
Fix typo in previous commit
Diffstat (limited to 'php/src')
-rw-r--r-- | php/src/php/Config.h | 3 | ||||
-rw-r--r-- | php/src/php5/Config.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/php/src/php/Config.h b/php/src/php/Config.h index c06224453a0..c5d9db61d57 100644 --- a/php/src/php/Config.h +++ b/php/src/php/Config.h @@ -119,8 +119,7 @@ ZEND_BEGIN_MODULE_GLOBALS(ice) ZEND_END_MODULE_GLOBALS(ice) // A void arginfo used for methods which do not take parameters. -// Avoid narrowing conversion warnings with ZEND_BEGIN_ARG_INFO_EX usage in PHP >= 5.4 -ZEND_BEGIN_ARG_INFO_EX(ice_void_arginfo, 0, ZEND_RETURN_VALUE, static_cast<zend_uint>(-1)) +ZEND_BEGIN_ARG_INFO(ice_void_arginfo, 0) ZEND_END_ARG_INFO() #ifdef ZTS diff --git a/php/src/php5/Config.h b/php/src/php5/Config.h index e18cfdc8e81..9d7388f226e 100644 --- a/php/src/php5/Config.h +++ b/php/src/php5/Config.h @@ -126,6 +126,8 @@ ZEND_BEGIN_MODULE_GLOBALS(ice) ZEND_END_MODULE_GLOBALS(ice) // A void arginfo used for methods which do not take parameters. +// Avoid narrowing conversion warnings with ZEND_BEGIN_ARG_INFO_EX usage in PHP >= 5.4 +ZEND_BEGIN_ARG_INFO_EX(ice_void_arginfo, 0, ZEND_RETURN_VALUE, static_cast<zend_uint>(-1)) ZEND_BEGIN_ARG_INFO(ice_void_arginfo, 0) ZEND_END_ARG_INFO() |