From e709f64df191609e83a497cae94ff59bcf32a239 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 19 Jun 2017 14:21:10 +0200 Subject: Add const to pdf_toname. --- source/pdf/pdf-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/pdf/pdf-stream.c') diff --git a/source/pdf/pdf-stream.c b/source/pdf/pdf-stream.c index 871ea40e..3650bd66 100644 --- a/source/pdf/pdf-stream.c +++ b/source/pdf/pdf-stream.c @@ -472,7 +472,7 @@ pdf_load_raw_stream_number(fz_context *ctx, pdf_document *doc, int num) } static int -pdf_guess_filter_length(int len, char *filter) +pdf_guess_filter_length(int len, const char *filter) { if (!strcmp(filter, "ASCIIHexDecode")) return len / 2; -- cgit v1.2.3