]> granicus.if.org Git - php/commitdiff
- MFH: fix warnings
authorMichael Wallner <mike@php.net>
Thu, 7 Sep 2006 14:24:42 +0000 (14:24 +0000)
committerMichael Wallner <mike@php.net>
Thu, 7 Sep 2006 14:24:42 +0000 (14:24 +0000)
ext/iconv/iconv.c

index b86df00111e9357210e7a6ed61c345f48b3d67f4..02272498ebdb3a83f916ca377b4d7fa611931f48 100644 (file)
@@ -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) {