diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-11-15 17:40:26 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-11-15 17:48:41 +0000 |
commit | e84b0b0354a7ecf474600f55e1799d72affc2dfd (patch) | |
tree | 65ed3e92449df0cee00c6a5f1f23d676b6c94e35 /source | |
parent | 9f1372db24cec10c1b8d7d3a38310cd0ebe26100 (diff) | |
download | mupdf-e84b0b0354a7ecf474600f55e1799d72affc2dfd.tar.xz |
Fix compiler warning.
's' is char * and unsigned char * is expected.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/stext-search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/stext-search.c b/source/fitz/stext-search.c index 8d768a4f..67497af9 100644 --- a/source/fitz/stext-search.c +++ b/source/fitz/stext-search.c @@ -280,7 +280,7 @@ fz_copy_selection(fz_context *ctx, fz_stext_page *page, fz_rect rect) fz_write_buffer_byte(ctx, buffer, 0); - fz_buffer_extract(ctx, buffer, &s); + fz_buffer_extract(ctx, buffer, (unsigned char **)&s); fz_drop_buffer(ctx, buffer); return s; } |