cvs: php-src(PHP_4_3) /ext/xmlrpc/libxmlrpc encodings.c

From: Date: Mon, 08 Mar 2004 18:52:41 +0000
Subject: cvs: php-src(PHP_4_3) /ext/xmlrpc/libxmlrpc encodings.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-26542@lists.php.net to get a copy of this message
abies Mon Mar 8 13:52:41 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/xmlrpc/libxmlrpc encodings.c Log: Possible fix for #27408 (wordsize/alignment issue) http://cvs.php.net/diff.php/php-src/ext/xmlrpc/libxmlrpc/encodings.c?r1=1.4.4.1&r2=1.4.4.2&ty=u Index: php-src/ext/xmlrpc/libxmlrpc/encodings.c diff -u php-src/ext/xmlrpc/libxmlrpc/encodings.c:1.4.4.1 php-src/ext/xmlrpc/libxmlrpc/encodings.c:1.4.4.2 --- php-src/ext/xmlrpc/libxmlrpc/encodings.c:1.4.4.1 Tue Nov 26 23:07:00 2002 +++ php-src/ext/xmlrpc/libxmlrpc/encodings.c Mon Mar 8 13:52:40 2004 @@ -41,7 +41,7 @@ #include <stdlib.h> #endif -static const char rcsid[] = "#(@) $Id: encodings.c,v 1.4.4.1 2002/11/27 04:07:00 fmk Exp $"; +static const char rcsid[] = "#(@) $Id: encodings.c,v 1.4.4.2 2004/03/08 18:52:40 abies Exp $"; #include <errno.h> @@ -57,11 +57,11 @@ char* outbuf = 0; if(src && src_len && from_enc && to_enc) { - int outlenleft = src_len; + size_t outlenleft = src_len; + size_t inlenleft = src_len; int outlen = src_len; - int inlenleft = src_len; iconv_t ic = iconv_open(to_enc, from_enc); - char* src_ptr = (char*)src; + char const *src_ptr = src; char* out_ptr = 0; if(ic != (iconv_t)-1) {

« previous php.cvs (#26542) next »