diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-01-24 01:20:52 +0100 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2018-02-01 17:21:16 +0100 |
commit | b105ae5371549dce1b7e3d39fe130307f50d908a (patch) | |
tree | 1a794c52181c7d3e99ba81c450f9a2b4812602de /source/pdf/pdf-pkcs7.c | |
parent | 4ccc9cdc72346175fd22aafbce03847f1e287d26 (diff) | |
download | mupdf-b105ae5371549dce1b7e3d39fe130307f50d908a.tar.xz |
Cast data buffer to silence compiler warning.
Diffstat (limited to 'source/pdf/pdf-pkcs7.c')
-rw-r--r-- | source/pdf/pdf-pkcs7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-pkcs7.c b/source/pdf/pdf-pkcs7.c index f1e616c0..297b564b 100644 --- a/source/pdf/pdf-pkcs7.c +++ b/source/pdf/pdf-pkcs7.c @@ -89,7 +89,7 @@ typedef struct static int stream_read(BIO *b, char *buf, int size) { BIO_stream_data *data = (BIO_stream_data *)BIO_get_data(b); - return fz_read(data->ctx, data->stm, buf, size); + return fz_read(data->ctx, data->stm, (unsigned char *) buf, size); } static long stream_ctrl(BIO *b, int cmd, long arg1, void *arg2) |