diff options
author | Anatol Belski <ab@php.net> | 2014-08-18 10:35:46 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-18 10:35:46 +0200 |
commit | 59ec8329f443b0a912e0740da709b712c6392711 (patch) | |
tree | 25a467a46a4d00ed1e346cf52b2f071b85bc09c6 | |
parent | 483a800c988586b155bc262098adf0e88177a133 (diff) | |
download | php-git-59ec8329f443b0a912e0740da709b712c6392711.tar.gz |
renamed _z_param_long
-rw-r--r-- | Zend/zend_API.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index ec23dde796..3768e30b92 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -900,7 +900,7 @@ ZEND_API int _z_param_class(zval *arg, zend_class_entry **pce, int num, int chec /* old "l" */ #define Z_PARAM_INT_EX(dest, is_null, check_null, separate) \ Z_PARAM_PROLOGUE(separate); \ - if (UNEXPECTED(!_z_param_long(_arg, &dest, &is_null, check_null, 0))) { \ + if (UNEXPECTED(!_z_param_int(_arg, &dest, &is_null, check_null, 0))) { \ _expected_type = Z_EXPECTED_LONG; \ error_code = ZPP_ERROR_WRONG_ARG; \ break; \ @@ -912,7 +912,7 @@ ZEND_API int _z_param_class(zval *arg, zend_class_entry **pce, int num, int chec /* old "L" */ #define Z_PARAM_STRICT_INT_EX(dest, is_null, check_null, separate) \ Z_PARAM_PROLOGUE(separate); \ - if (UNEXPECTED(!_z_param_long(_arg, &dest, &is_null, check_null, 1))) { \ + if (UNEXPECTED(!_z_param_int(_arg, &dest, &is_null, check_null, 1))) { \ _expected_type = Z_EXPECTED_LONG; \ error_code = ZPP_ERROR_WRONG_ARG; \ break; \ @@ -1072,7 +1072,7 @@ static zend_always_inline int _z_param_bool(zval *arg, zend_bool *dest, zend_boo return 1; } -static zend_always_inline int _z_param_long(zval *arg, zend_int_t *dest, zend_bool *is_null, int check_null, int strict) +static zend_always_inline int _z_param_int(zval *arg, zend_int_t *dest, zend_bool *is_null, int check_null, int strict) { if (check_null) { *is_null = 0; |