summaryrefslogtreecommitdiff
path: root/zend/value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zend/value.cpp')
-rw-r--r--zend/value.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/zend/value.cpp b/zend/value.cpp
index 40308f4..547ff85 100644
--- a/zend/value.cpp
+++ b/zend/value.cpp
@@ -893,7 +893,7 @@ Value Value::exec(int argc, Value *argv) const
zval params[argc];
// convert all the values
- for(unsigned i=0; i < argc; i++) { params[i] = *argv[i]._val; }
+ for(int i = 0; i < argc; i++) { params[i] = *argv[i]._val; }
// call helper function
return do_exec(nullptr, _val, argc, params);
@@ -915,7 +915,7 @@ Value Value::exec(const char *name, int argc, Value *argv) const
zval params[argc];
// convert all the values
- for(unsigned i=0; i < argc; i++) { params[i] = *argv[i]._val; }
+ for(int i = 0; i < argc; i++) { params[i] = *argv[i]._val; }
// call helper function
return do_exec(_val, method._val, argc, params);
@@ -937,7 +937,7 @@ Value Value::exec(const char *name, int argc, Value *argv)
zval params[argc];
// convert all the values
- for(unsigned i=0; i < argc; i++) { params[i] = *argv[i]._val; }
+ for(int i = 0; i < argc; i++) { params[i] = *argv[i]._val; }
// call helper function
return do_exec(_val, method._val, argc, params);