summaryrefslogtreecommitdiff
path: root/ext/standard/http_fopen_wrapper.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2007-01-19 00:17:43 +0000
committerIlia Alshanetsky <iliaa@php.net>2007-01-19 00:17:43 +0000
commitaeddf73dc4db8ad1e78b9162d5781df3fbf36deb (patch)
tree90fe5c13fd3946c481b7d8c37ee7e295cc7c76ed /ext/standard/http_fopen_wrapper.c
parent5500a08ba3d8164cd51a43c887351ae50b2abd75 (diff)
downloadphp-git-aeddf73dc4db8ad1e78b9162d5781df3fbf36deb.tar.gz
Fix win32 build
Diffstat (limited to 'ext/standard/http_fopen_wrapper.c')
-rw-r--r--ext/standard/http_fopen_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c
index 7adc56e98a..c43aced2cb 100644
--- a/ext/standard/http_fopen_wrapper.c
+++ b/ext/standard/http_fopen_wrapper.c
@@ -164,7 +164,7 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
SEPARATE_ZVAL(tmpzval);
convert_to_double_ex(tmpzval);
timeout.tv_sec = (time_t) Z_DVAL_PP(tmpzval);
- timeout.tv_usec = (suseconds_t) ((Z_DVAL_PP(tmpzval) - timeout.tv_sec) * 1000000);
+ timeout.tv_usec = (size_t) ((Z_DVAL_PP(tmpzval) - timeout.tv_sec) * 1000000);
} else {
timeout.tv_sec = FG(default_socket_timeout);
timeout.tv_usec = 0;