]> granicus.if.org Git - php/commitdiff
MFH: fix compile warning
authorAntony Dovgal <tony2001@php.net>
Fri, 13 Aug 2004 14:54:50 +0000 (14:54 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 13 Aug 2004 14:54:50 +0000 (14:54 +0000)
ext/iconv/iconv.c

index e4195c208590f309fe69a85282ef55424a3109bb..e0cb6c230ee3e9fb99155f2c084d8b5e0e5b6b6c 100644 (file)
@@ -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: