From: Dmitry Stogov Date: Mon, 9 Apr 2007 15:39:16 +0000 (+0000) Subject: Fixed 64-bit support X-Git-Tag: RELEASE_1_1_0~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8610b4f6cf2f651bb002849544ad205b021e8766;p=php Fixed 64-bit support --- diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index 396834c98a..85c6f35b35 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -758,7 +758,7 @@ PHP_FUNCTION(stream_select) struct timeval tv; struct timeval *tv_p = NULL; fd_set rfds, wfds, efds; - int max_fd = 0; + php_socket_t max_fd = 0; int retval, sets = 0; long usec = 0; int set_count, max_set_count = 0; diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index 40fe2a9a77..d3524a7d39 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -1266,7 +1266,7 @@ not_relative_path: #ifdef PHP_WIN32 if (IS_SLASH(filename[0])) { - int cwd_len; + size_t cwd_len; char *cwd; cwd = virtual_getcwd_ex(&cwd_len TSRMLS_CC); /* getcwd() will return always return [DRIVE_LETTER]:/) on windows. */