summaryrefslogtreecommitdiff
path: root/image/jpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'image/jpeg.c')
-rw-r--r--image/jpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/image/jpeg.c b/image/jpeg.c
index f247243ea..4d7aa32f7 100644
--- a/image/jpeg.c
+++ b/image/jpeg.c
@@ -244,7 +244,7 @@ void nsjpeg_term_source(j_decompress_ptr cinfo)
*/
bool nsjpeg_redraw(struct content *c, int x, int y,
- int width, int height, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour)
{
return plot.bitmap(x, y, width, height,
@@ -257,7 +257,7 @@ bool nsjpeg_redraw(struct content *c, int x, int y,
*/
bool nsjpeg_redraw_tiled(struct content *c, int x, int y,
- int width, int height, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour,
bool repeat_x, bool repeat_y)
{