diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-06-19 14:21:10 +0200 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-06-22 15:46:56 +0100 |
commit | e709f64df191609e83a497cae94ff59bcf32a239 (patch) | |
tree | a8586fede90e3601d2f96951dc668dd046b2da0d /source/pdf/pdf-write.c | |
parent | 978c99d48e05db3130a342d8810bf1ce28faff74 (diff) | |
download | mupdf-e709f64df191609e83a497cae94ff59bcf32a239.tar.xz |
Add const to pdf_toname.
Diffstat (limited to 'source/pdf/pdf-write.c')
-rw-r--r-- | source/pdf/pdf-write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-write.c b/source/pdf/pdf-write.c index 1353f659..5e80cfa1 100644 --- a/source/pdf/pdf-write.c +++ b/source/pdf/pdf-write.c @@ -1757,7 +1757,7 @@ static void expandstream(fz_context *ctx, pdf_document *doc, pdf_write_state *op pdf_drop_obj(ctx, obj); } -static int is_image_filter(char *s) +static int is_image_filter(const char *s) { if (!strcmp(s, "CCITTFaxDecode") || !strcmp(s, "CCF") || !strcmp(s, "DCTDecode") || !strcmp(s, "DCT") || |