summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-11-17 21:15:38 +0000
committerZeev Suraski <zeev@php.net>2001-11-17 21:15:38 +0000
commit23c0362aec64f2479d5b5b041544afc1b29e6e5e (patch)
treedd40d668df251e74425ebf22ffad37c519ca8065 /TSRM
parent29312b2ec825d2d61a3995a7adc5c020e8b45484 (diff)
downloadphp-git-23c0362aec64f2479d5b5b041544afc1b29e6e5e.tar.gz
Fix bug 13143
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_virtual_cwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c
index 3db3c4cf9d..265c5b07bb 100644
--- a/TSRM/tsrm_virtual_cwd.c
+++ b/TSRM/tsrm_virtual_cwd.c
@@ -553,7 +553,7 @@ CWD_API int virtual_open(const char *path TSRMLS_DC, int flags, ...)
va_list arg;
va_start(arg, flags);
- mode = va_arg(arg, mode_t);
+ mode = (mode_t) va_arg(arg, int);
va_end(arg);
f = open(new_state.cwd, flags, mode);