summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/pdf/font.h2
-rw-r--r--include/mupdf/pdf/object.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mupdf/pdf/font.h b/include/mupdf/pdf/font.h
index 63177061..a68aab90 100644
--- a/include/mupdf/pdf/font.h
+++ b/include/mupdf/pdf/font.h
@@ -18,7 +18,7 @@ enum
PDF_FD_FORCE_BOLD = 1 << 18
};
-void pdf_load_encoding(const char **estrings, char *encoding);
+void pdf_load_encoding(const char **estrings, const char *encoding);
int pdf_lookup_agl(const char *name);
const char **pdf_lookup_agl_duplicates(int ucs);
diff --git a/include/mupdf/pdf/object.h b/include/mupdf/pdf/object.h
index 877d6be6..5ceab1f0 100644
--- a/include/mupdf/pdf/object.h
+++ b/include/mupdf/pdf/object.h
@@ -79,7 +79,7 @@ int pdf_to_bool(fz_context *ctx, pdf_obj *obj);
int pdf_to_int(fz_context *ctx, pdf_obj *obj);
fz_off_t pdf_to_offset(fz_context *ctx, pdf_obj *obj);
float pdf_to_real(fz_context *ctx, pdf_obj *obj);
-char *pdf_to_name(fz_context *ctx, pdf_obj *obj);
+const char *pdf_to_name(fz_context *ctx, pdf_obj *obj);
char *pdf_to_str_buf(fz_context *ctx, pdf_obj *obj);
int pdf_to_str_len(fz_context *ctx, pdf_obj *obj);
int pdf_to_num(fz_context *ctx, pdf_obj *obj);