summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2007-04-16 08:09:56 +0000
committerDmitry Stogov <dmitry@php.net>2007-04-16 08:09:56 +0000
commite1814f0dbe3037970966c82d5bf3e97fd5f6d5a8 (patch)
treea49deb50f7f0c88fa52eb3c3ffa06ba1fcae69b8 /ext
parentf088268f910a764ccbd2174cd3eb051c74dc82d5 (diff)
downloadphp-git-e1814f0dbe3037970966c82d5bf3e97fd5f6d5a8.tar.gz
WIN64 support
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/proc_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c
index 2fc8e6eae8..df0a8cd83c 100644
--- a/ext/standard/proc_open.c
+++ b/ext/standard/proc_open.c
@@ -946,7 +946,7 @@ PHP_FUNCTION(proc_open)
break;
}
#ifdef PHP_WIN32
- stream = php_stream_fopen_from_fd(_open_osfhandle((long)descriptors[i].parentend,
+ stream = php_stream_fopen_from_fd(_open_osfhandle((zend_intptr_t)descriptors[i].parentend,
descriptors[i].mode_flags), mode_string, NULL);
#else
stream = php_stream_fopen_from_fd(descriptors[i].parentend, mode_string, NULL);