From f8ff78deabe489214d0f5bc2827e889d84d48396 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 7 Sep 2006 14:21:02 +0000 Subject: [PATCH] -fix warnings --- ext/iconv/iconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c index b7ebf9419a..69918c7199 100644 --- a/ext/iconv/iconv.c +++ b/ext/iconv/iconv.c @@ -1225,7 +1225,7 @@ static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fn prev_in_left = in_left; - encoded = php_base64_encode(buf, (int)(out_size - out_left), &dummy); + encoded = (char *) php_base64_encode((unsigned char *) buf, (int)(out_size - out_left), &dummy); encoded_len = (size_t)dummy; if (char_cnt < encoded_len) { -- 2.40.0