[PATCH] iconv fix for LP64 platforms

php.internals

Joe Orton

23 years ago
php_iconv_string() takes size_t as the out_len parameter, but ob_iconv_handler is passing a pointer to an unsigned int. --- php-4.3.2/ext/iconv/iconv.c.iconv 2003-03-04 17:20:27.000000000 +0000 +++ php-4.3.2/ext/iconv/iconv.c 2003-06-04 14:46:56.000000000 +0100 @@ -427,7 +427,7 @@ { char *out_buffer, *content_type, *mimetype = NULL, *s; zval *zv_string; - unsigned int out_len; + size_t out_len; int mimetype_alloced = 0; long status;

Moriyoshi Koizumi

23 years ago
Applied. Thanks for the patch. Moriyoshi Joe Orton <jorton@redhat.com> wrote: