cvs: php-src /ext/xmlrpc/libxmlrpc encodings.c
| From: | Ard Biesheuvel | Date: | Mon, 08 Mar 2004 23:04:34 +0000 |
| Subject: | cvs: php-src /ext/xmlrpc/libxmlrpc encodings.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-26551@lists.php.net to get a copy of this message | ||
abies Mon Mar 8 18:04:34 2004 EDT
Modified files:
/php-src/ext/xmlrpc/libxmlrpc encodings.c
Log:
Fix warning
http://cvs.php.net/diff.php/php-src/ext/xmlrpc/libxmlrpc/encodings.c?r1=1.6&r2=1.7&ty=u
Index: php-src/ext/xmlrpc/libxmlrpc/encodings.c
diff -u php-src/ext/xmlrpc/libxmlrpc/encodings.c:1.6 php-src/ext/xmlrpc/libxmlrpc/encodings.c:1.7
--- php-src/ext/xmlrpc/libxmlrpc/encodings.c:1.6 Mon Mar 8 14:08:25 2004
+++ php-src/ext/xmlrpc/libxmlrpc/encodings.c Mon Mar 8 18:04:33 2004
@@ -41,7 +41,7 @@
#include <stdlib.h>
#endif
-static const char rcsid[] = "#(@) $Id: encodings.c,v 1.6 2004/03/08 19:08:25 abies Exp
$";
+static const char rcsid[] = "#(@) $Id: encodings.c,v 1.7 2004/03/08 23:04:33 abies Exp
$";
#include <errno.h>
@@ -70,7 +70,7 @@
if(outbuf) {
out_ptr = (char*)outbuf;
while(inlenleft) {
- st = iconv(ic, &src, &inlenleft, &out_ptr, &outlenleft);
+ st = iconv(ic, (char**)&src, &inlenleft, &out_ptr, &outlenleft);
if(st == -1) {
if(errno == E2BIG) {
int diff = out_ptr - outbuf;