12345678910111213 |
- $OpenBSD: patch-ext_xmlrpc_libxmlrpc_encodings_c,v 1.1.1.1 2013/08/07 16:46:55 robert Exp $
- --- ext/xmlrpc/libxmlrpc/encodings.c.orig.port Wed Sep 26 16:44:16 2007
- +++ ext/xmlrpc/libxmlrpc/encodings.c Sat Jun 18 12:14:51 2011
- @@ -78,7 +78,7 @@ static char* convert(const char* src, int src_len, int
- if(outbuf) {
- out_ptr = (char*)outbuf;
- while(inlenleft) {
- - st = iconv(ic, (char**)&src, &inlenleft, &out_ptr, &outlenleft);
- + st = iconv(ic, (const char**)&src, &inlenleft, &out_ptr, &outlenleft);
- if(st == -1) {
- if(errno == E2BIG) {
- int diff = out_ptr - outbuf;
|