summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-04-20 08:28:14 +0000
committerPierre Joye <pajoye@php.net>2009-04-20 08:28:14 +0000
commitf0c630b9ac29b4958a6e87e4857c9bd004edd6a1 (patch)
tree8ea14a7fdffb618c07c1b4db2884d8ab6ba887b6
parenta8b66c3777de5a4d4e97689831c1a2b6a1e15238 (diff)
downloadphp-git-f0c630b9ac29b4958a6e87e4857c9bd004edd6a1.tar.gz
- silent compiler warning
-rw-r--r--main/streams/cast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/cast.c b/main/streams/cast.c
index 0f1503dc5e..db80620852 100644
--- a/main/streams/cast.c
+++ b/main/streams/cast.c
@@ -219,7 +219,7 @@ PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show
if (ret != SUCCESS) {
php_stream_close(newstream);
} else {
- int retcode = php_stream_cast(newstream, castas | flags, ret, show_err);
+ int retcode = php_stream_cast(newstream, castas | flags, (void**)ret, show_err);
if (retcode == SUCCESS)
rewind(*(FILE**)ret);