diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-02-22 14:20:37 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-02-22 14:31:17 +0100 |
commit | 2af96d78c56c9cc81176c732563a5a4338012a0b (patch) | |
tree | 14870652195ea97de5a6a6630a0b478ecce8fba9 /source/fitz/test-device.c | |
parent | ad8a5680e6d3fd1ad77ae2c1a3d38ebe2042f2cb (diff) | |
download | mupdf-2af96d78c56c9cc81176c732563a5a4338012a0b.tar.xz |
Drop const from fz_image.
Image objects are immutable and opaque once constructed.
Therefore there is no need for the const keyword.
Diffstat (limited to 'source/fitz/test-device.c')
-rw-r--r-- | source/fitz/test-device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/test-device.c b/source/fitz/test-device.c index 946e636d..64c7804f 100644 --- a/source/fitz/test-device.c +++ b/source/fitz/test-device.c @@ -122,7 +122,7 @@ fz_test_fill_shade(fz_context *ctx, fz_device *dev, fz_shade *shade, const fz_ma } static void -fz_test_fill_image(fz_context *ctx, fz_device *dev, const fz_image *image, const fz_matrix *ctm, float alpha) +fz_test_fill_image(fz_context *ctx, fz_device *dev, fz_image *image, const fz_matrix *ctm, float alpha) { fz_test_device *t = (fz_test_device*)dev; @@ -241,7 +241,7 @@ fz_test_fill_image(fz_context *ctx, fz_device *dev, const fz_image *image, const } static void -fz_test_fill_image_mask(fz_context *ctx, fz_device *dev, const fz_image *image, const fz_matrix *ctm, +fz_test_fill_image_mask(fz_context *ctx, fz_device *dev, fz_image *image, const fz_matrix *ctm, fz_colorspace *colorspace, const float *color, float alpha) { /* We assume that at least some of the image pixels are non-zero */ |