summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/posix/posix.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
index 6d34da7609..547e93e58e 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -1389,8 +1389,7 @@ PHP_FUNCTION(posix_getrlimit)
PHP_FUNCTION(posix_setrlimit)
{
struct rlimit rl;
- zend_long cur, max;
- int res;
+ zend_long res, cur, max;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &res, &cur, &max) == FAILURE) {
RETURN_FALSE;