summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-write.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-06-19 14:21:10 +0200
committerRobin Watts <robin.watts@artifex.com>2017-06-22 15:46:56 +0100
commite709f64df191609e83a497cae94ff59bcf32a239 (patch)
treea8586fede90e3601d2f96951dc668dd046b2da0d /source/pdf/pdf-write.c
parent978c99d48e05db3130a342d8810bf1ce28faff74 (diff)
downloadmupdf-e709f64df191609e83a497cae94ff59bcf32a239.tar.xz
Add const to pdf_toname.
Diffstat (limited to 'source/pdf/pdf-write.c')
-rw-r--r--source/pdf/pdf-write.c2
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") ||