diff options
author | Michael Wallner <mike@php.net> | 2015-01-30 22:32:00 +0100 |
---|---|---|
committer | Michael Wallner <mike@php.net> | 2015-01-30 22:32:00 +0100 |
commit | 570ed1a1a4061da99839c47cece8f4ca560ea28f (patch) | |
tree | 8f05a994391f61686dfc4afbe436a785e636e9b3 /main/rfc1867.c | |
parent | 7a94243402d95b227931004aa9d10a1b94aeaef8 (diff) | |
download | php-git-570ed1a1a4061da99839c47cece8f4ca560ea28f.tar.gz |
fix warnings
Diffstat (limited to 'main/rfc1867.c')
-rw-r--r-- | main/rfc1867.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/rfc1867.c b/main/rfc1867.c index a1ba99f08c..a1d8232dd9 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -425,7 +425,7 @@ static int multipart_buffer_headers(multipart_buffer *self, zend_llist *header) char *value = NULL; if (php_rfc1867_encoding_translation()) { - self->input_encoding = zend_multibyte_encoding_detector(line, strlen(line), self->detect_order, self->detect_order_size); + self->input_encoding = zend_multibyte_encoding_detector((const unsigned char *) line, strlen(line), self->detect_order, self->detect_order_size); } /* space in the beginning means same header */ |