From 01ee23d980c7ce9c90c8d2a060af4a58f1ab6f0f Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 7 Sep 2006 14:24:42 +0000 Subject: [PATCH] - MFH: 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 b86df00111..02272498eb 100644 --- a/ext/iconv/iconv.c +++ b/ext/iconv/iconv.c @@ -1159,7 +1159,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