diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-02-22 14:18:05 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-02-22 14:30:36 +0100 |
commit | ad8a5680e6d3fd1ad77ae2c1a3d38ebe2042f2cb (patch) | |
tree | d7da3d8e161086470a3e3238fe7ac650eb8e44a4 /source/fitz/svg-device.c | |
parent | 35a0cb70629c57eb94cb99fec83f994d3d496a7b (diff) | |
download | mupdf-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/svg-device.c')
-rw-r--r-- | source/fitz/svg-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/svg-device.c b/source/fitz/svg-device.c index 67525ed4..584911c9 100644 --- a/source/fitz/svg-device.c +++ b/source/fitz/svg-device.c @@ -756,7 +756,7 @@ svg_dev_fill_image(fz_context *ctx, fz_device *dev, const fz_image *image, const } static void -svg_dev_fill_shade(fz_context *ctx, fz_device *dev, const fz_shade *shade, const fz_matrix *ctm, float alpha) +svg_dev_fill_shade(fz_context *ctx, fz_device *dev, fz_shade *shade, const fz_matrix *ctm, float alpha) { svg_device *sdev = (svg_device*)dev; fz_output *out = sdev->out; |