From 88358f064351e867c73e46783a239265ff9fef7a Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 13 Sep 2021 11:04:59 +0100 Subject: Add 'const' to the draw_polygon coords array parameter. Thanks to Mouse for spotting that it was missing. --- nullfe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nullfe.c') diff --git a/nullfe.c b/nullfe.c index 7cba4e0..f55aec7 100644 --- a/nullfe.c +++ b/nullfe.c @@ -15,7 +15,7 @@ void draw_rect(drawing *dr, int x, int y, int w, int h, int colour) {} void draw_line(drawing *dr, int x1, int y1, int x2, int y2, int colour) {} void draw_thick_line(drawing *dr, float thickness, float x1, float y1, float x2, float y2, int colour) {} -void draw_polygon(drawing *dr, int *coords, int npoints, +void draw_polygon(drawing *dr, const int *coords, int npoints, int fillcolour, int outlinecolour) {} void draw_circle(drawing *dr, int cx, int cy, int radius, int fillcolour, int outlinecolour) {} -- cgit v1.1