summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-11-26 11:30:50 +0100
committerTor Andersson <tor.andersson@artifex.com>2013-11-26 11:30:50 +0100
commite1d7a913f08446b77071ea71e4aef89588d68334 (patch)
tree987900df70d1bbb85d93e9330d4e36cd4281d19d /source/pdf
parentbea951c1e5f5e79c44b5a4a1ba1fd0a69d7a005d (diff)
downloadmupdf-e1d7a913f08446b77071ea71e4aef89588d68334.tar.xz
Add const keyword to some font function parameters.
Diffstat (limited to 'source/pdf')
-rw-r--r--source/pdf/pdf-fontfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-fontfile.c b/source/pdf/pdf-fontfile.c
index c9eb94be..2e33768d 100644
--- a/source/pdf/pdf-fontfile.c
+++ b/source/pdf/pdf-fontfile.c
@@ -33,7 +33,7 @@
#endif
unsigned char *
-pdf_lookup_builtin_font(char *name, unsigned int *len)
+pdf_lookup_builtin_font(const char *name, unsigned int *len)
{
if (!strcmp("Courier", name)) {
*len = sizeof pdf_font_NimbusMon_Reg;