summaryrefslogtreecommitdiff
path: root/ext/posix/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix/posix.c')
-rw-r--r--ext/posix/posix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
index 73034d0820..b53740990b 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -687,7 +687,8 @@ PHP_FUNCTION(posix_getcwd)
PHP_FUNCTION(posix_mkfifo)
{
char *path;
- long path_len, mode;
+ int path_len;
+ long mode;
int result;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl", &path, &path_len, &mode) == FAILURE)