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

index b7ebf9419a90aa729e6e4511fa27ca5c88ee3227..69918c71996e921923620af6b0e3a94279bc36d3 100644 (file)
@@ -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) {