[PATCH] iconv fix for LP64 platforms
| From: | Joe Orton | Date: | Wed, 04 Jun 2003 14:08:00 +0000 |
| Subject: | [PATCH] iconv fix for LP64 platforms | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-2157@lists.php.net to get a copy of this message | ||
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;