diff options
author | Antony Dovgal <tony2001@php.net> | 2005-05-24 10:14:16 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2005-05-24 10:14:16 +0000 |
commit | 630521306657766d1f12358fa7561226e47a13ea (patch) | |
tree | 4fa3b72915ff36b037ca1b923d8e7f909dce52e2 | |
parent | 04d0a786499f211bf2474049da67cda1f2523c51 (diff) | |
download | php-git-630521306657766d1f12358fa7561226e47a13ea.tar.gz |
MFH: make it compile on Win32
-rwxr-xr-x | main/streams.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |