Re: cvs: php-src /ext/iconv iconv.c
| From: | Moriyoshi Koizumi | Date: | Sat, 14 Aug 2004 03:40:33 +0000 |
| Subject: | Re: cvs: php-src /ext/iconv iconv.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-28338@lists.php.net to get a copy of this message | ||
Antony Dovgal wrote:
#include "config.h" @@ -2457,7 +2457,7 @@ 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:I'm afraid it doesn't make much sense. Please have a look at http://marc.theaimsgroup.com/?l=php-dev&m=106279777611117&w=2 and consider reverting. Moriyoshi