diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/pdf/crypt.h | 2 | ||||
-rw-r--r-- | include/mupdf/pdf/document.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mupdf/pdf/crypt.h b/include/mupdf/pdf/crypt.h index 18260dbb..cb8eba41 100644 --- a/include/mupdf/pdf/crypt.h +++ b/include/mupdf/pdf/crypt.h @@ -37,7 +37,7 @@ pdf_signer *pdf_read_pfx(fz_context *ctx, const char *sigfile, const char *passw pdf_signer *pdf_keep_signer(fz_context *ctx, pdf_signer *signer); void pdf_drop_signer(fz_context *ctx, pdf_signer *signer); pdf_designated_name *pdf_signer_designated_name(fz_context *ctx, pdf_signer *signer); -void pdf_write_digest(fz_context *ctx, pdf_document *doc, char *filename, pdf_obj *byte_range, int digest_offset, int digest_length, pdf_signer *signer); +void pdf_write_digest(fz_context *ctx, pdf_document *doc, const char *filename, pdf_obj *byte_range, int digest_offset, int digest_length, pdf_signer *signer); /* pdf_signature_widget_byte_range: retrieve the byte range for a signature widget diff --git a/include/mupdf/pdf/document.h b/include/mupdf/pdf/document.h index e8d0f07e..de7df553 100644 --- a/include/mupdf/pdf/document.h +++ b/include/mupdf/pdf/document.h @@ -319,6 +319,6 @@ struct pdf_write_options_s /* pdf_save_document: Write out the document to a file with all changes finalised. */ -void pdf_save_document(fz_context *ctx, pdf_document *doc, char *filename, pdf_write_options *opts); +void pdf_save_document(fz_context *ctx, pdf_document *doc, const char *filename, pdf_write_options *opts); #endif |