diff options
author | Ard Biesheuvel <abies@php.net> | 2004-03-08 18:52:40 +0000 |
---|---|---|
committer | Ard Biesheuvel <abies@php.net> | 2004-03-08 18:52:40 +0000 |
commit | b08b041503dee12cd9456f110eba1a4088bd80fe (patch) | |
tree | 1cc897f768bc933b6881bb6e4bd6b1bf2a7f1781 | |
parent | 9c340ef86f1435fa696ad3446a9f576b43a0ce39 (diff) | |
download | php-git-b08b041503dee12cd9456f110eba1a4088bd80fe.tar.gz |
Possible fix for #27408 (wordsize/alignment issue)
-rw-r--r-- | ext/xmlrpc/libxmlrpc/encodings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/xmlrpc/libxmlrpc/encodings.c b/ext/xmlrpc/libxmlrpc/encodings.c index 8f7d33ea43..96bc3394dd 100644 --- a/ext/xmlrpc/libxmlrpc/encodings.c +++ b/ext/xmlrpc/libxmlrpc/encodings.c @@ -57,11 +57,11 @@ static char* convert(const char* src, int src_len, int *new_len, const char* fro 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) { |