summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-01-21 12:17:05 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-01-21 12:17:05 +0100
commit1ceb3b2acf3b8b8c1d009a01e94957698e6ec142 (patch)
treec7a93502bfe3ef9a7b507a08d26dce18b37454bc /source/pdf
parent835036fc550af059f2bc067fc39465a9bfda7c2f (diff)
downloadmupdf-1ceb3b2acf3b8b8c1d009a01e94957698e6ec142.tar.xz
Drop the const on fz_font.
The font is an immutable opaque structure, no need to add the const keyword since users aren't expected or expecting to change it.
Diffstat (limited to 'source/pdf')
-rw-r--r--source/pdf/pdf-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-device.c b/source/pdf/pdf-device.c
index da6a141c..7371a0d7 100644
--- a/source/pdf/pdf-device.c
+++ b/source/pdf/pdf-device.c
@@ -550,7 +550,7 @@ pdf_dev_alpha(fz_context *ctx, pdf_device *pdev, float alpha, int stroke)
}
static void
-pdf_dev_font(fz_context *ctx, pdf_device *pdev, const fz_font *font, float size)
+pdf_dev_font(fz_context *ctx, pdf_device *pdev, fz_font *font, float size)
{
int i;
pdf_document *doc = pdev->doc;