diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-01-21 12:17:05 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-01-21 12:17:05 +0100 |
commit | 1ceb3b2acf3b8b8c1d009a01e94957698e6ec142 (patch) | |
tree | c7a93502bfe3ef9a7b507a08d26dce18b37454bc /source/pdf/pdf-device.c | |
parent | 835036fc550af059f2bc067fc39465a9bfda7c2f (diff) | |
download | mupdf-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/pdf-device.c')
-rw-r--r-- | source/pdf/pdf-device.c | 2 |
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; |