summaryrefslogtreecommitdiff
path: root/ext/reflection
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-21 15:39:29 +0200
committerAnatol Belski <ab@php.net>2014-08-21 15:39:29 +0200
commitfb8c41101d0e213494247783d7ce74f3809cb56e (patch)
tree8c021761b3af585bf7425931f1c24225e3f8090a /ext/reflection
parent5d62cf2f7de69ff681795e22471d9d749bcdfda7 (diff)
downloadphp-git-fb8c41101d0e213494247783d7ce74f3809cb56e.tar.gz
fix zpp
Diffstat (limited to 'ext/reflection')
-rw-r--r--ext/reflection/php_reflection.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index fa94785153..8d3e0494f6 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -1532,9 +1532,9 @@ ZEND_METHOD(reflection, export)
Returns an array of modifier names */
ZEND_METHOD(reflection, getModifierNames)
{
- long modifiers;
+ php_int_t modifiers;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &modifiers) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "i", &modifiers) == FAILURE) {
return;
}
@@ -3744,12 +3744,12 @@ ZEND_METHOD(reflection_class, getMethods)
{
reflection_object *intern;
zend_class_entry *ce;
- long filter = 0;
+ php_int_t filter = 0;
int argc = ZEND_NUM_ARGS();
METHOD_NOTSTATIC(reflection_class_ptr);
if (argc) {
- if (zend_parse_parameters(argc TSRMLS_CC, "|l", &filter) == FAILURE) {
+ if (zend_parse_parameters(argc TSRMLS_CC, "|i", &filter) == FAILURE) {
return;
}
} else {
@@ -3934,12 +3934,12 @@ ZEND_METHOD(reflection_class, getProperties)
{
reflection_object *intern;
zend_class_entry *ce;
- long filter = 0;
+ php_int_t filter = 0;
int argc = ZEND_NUM_ARGS();
METHOD_NOTSTATIC(reflection_class_ptr);
if (argc) {
- if (zend_parse_parameters(argc TSRMLS_CC, "|l", &filter) == FAILURE) {
+ if (zend_parse_parameters(argc TSRMLS_CC, "|i", &filter) == FAILURE) {
return;
}
} else {