summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2018-01-24 01:20:52 +0100
committerSebastian Rasmussen <sebras@gmail.com>2018-02-01 17:21:16 +0100
commitb105ae5371549dce1b7e3d39fe130307f50d908a (patch)
tree1a794c52181c7d3e99ba81c450f9a2b4812602de /source/pdf
parent4ccc9cdc72346175fd22aafbce03847f1e287d26 (diff)
downloadmupdf-b105ae5371549dce1b7e3d39fe130307f50d908a.tar.xz
Cast data buffer to silence compiler warning.
Diffstat (limited to 'source/pdf')
-rw-r--r--source/pdf/pdf-pkcs7.c2
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)