From: Antony Dovgal Date: Tue, 24 May 2005 10:14:16 +0000 (+0000) Subject: MFH: make it compile on Win32 X-Git-Tag: php-4.4.0RC1~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=630521306657766d1f12358fa7561226e47a13ea;p=php MFH: make it compile on Win32 --- diff --git a/main/streams.c b/main/streams.c index 775587f185..37cdf4ad94 100755 --- a/main/streams.c +++ b/main/streams.c @@ -1371,8 +1371,8 @@ PHPAPI php_stream *_php_stream_fopen_tmpfile(int dummy STREAMS_DC TSRMLS_DC) if (fd != -1) { php_stream *stream = php_stream_fopen_from_fd_rel(fd, "r+b", NULL); if (stream) { - stream->wrapper = &php_plain_files_wrapper; php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; + stream->wrapper = &php_plain_files_wrapper; self->temp_file_name = opened_path; return stream;