diff options
Diffstat (limited to 'php/src/php5/Config.h')
-rw-r--r-- | php/src/php5/Config.h | 2 |
1 files changed, 2 insertions, 0 deletions
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() |