summaryrefslogtreecommitdiff
path: root/source/fitz/draw-device.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-02-22 14:18:05 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-02-22 14:30:36 +0100
commitad8a5680e6d3fd1ad77ae2c1a3d38ebe2042f2cb (patch)
treed7da3d8e161086470a3e3238fe7ac650eb8e44a4 /source/fitz/draw-device.c
parent35a0cb70629c57eb94cb99fec83f994d3d496a7b (diff)
downloadmupdf-ad8a5680e6d3fd1ad77ae2c1a3d38ebe2042f2cb.tar.xz
Drop const from fz_shade.
Shading objects are immutable and opaque once constructed. Therefore there is no need for the const keyword.
Diffstat (limited to 'source/fitz/draw-device.c')
-rw-r--r--source/fitz/draw-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c
index 0617ea7b..b623a53b 100644
--- a/source/fitz/draw-device.c
+++ b/source/fitz/draw-device.c
@@ -933,7 +933,7 @@ fz_draw_ignore_text(fz_context *ctx, fz_device *dev, const fz_text *text, const
}
static void
-fz_draw_fill_shade(fz_context *ctx, fz_device *devp, const fz_shade *shade, const fz_matrix *ctm, float alpha)
+fz_draw_fill_shade(fz_context *ctx, fz_device *devp, fz_shade *shade, const fz_matrix *ctm, float alpha)
{
fz_draw_device *dev = (fz_draw_device*)devp;
fz_rect bounds;