summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2004-08-13 14:52:27 +0000
committerAntony Dovgal <tony2001@php.net>2004-08-13 14:52:27 +0000
commitf370d0290f0925971c04fbac6f5bbc7e88f2dac4 (patch)
tree7bd0466e4e8a99be66955fce71503d90e7133caa
parent98dd7282beb2990790017e5592d648a243309640 (diff)
downloadphp-git-f370d0290f0925971c04fbac6f5bbc7e88f2dac4.tar.gz
fix compile warning
-rw-r--r--ext/iconv/iconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c
index e4195c2085..e0cb6c230e 100644
--- a/ext/iconv/iconv.c
+++ b/ext/iconv/iconv.c
@@ -2457,7 +2457,7 @@ static int php_iconv_stream_filter_append_bucket(
while (icnt > 0) {
if ((ps == NULL ? iconv(self->cd, NULL, NULL, &pd, &ocnt):
- iconv(self->cd, &ps, &icnt, &pd, &ocnt)) == (size_t)-1) {
+ iconv(self->cd, (char **)&ps, &icnt, &pd, &ocnt)) == (size_t)-1) {
#if ICONV_SUPPORTS_ERRNO
switch (errno) {
case EILSEQ: