From: Tony Cook Date: Tue, 24 Nov 2009 07:18:35 +0000 (+0000) Subject: correct cast X-Git-Tag: Imager-0.72~12 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/d0eb6658559ebea47d5a72a7be42f5c79a6406b9 correct cast --- diff --git a/fills.c b/fills.c index e386d8a4..4298b643 100644 --- a/fills.c +++ b/fills.c @@ -956,7 +956,7 @@ fill_opacity(i_fill_t *fill, int x, int y, int width, int channels, static void fill_opacityf(i_fill_t *fill, int x, int y, int width, int channels, i_fcolor *data) { - struct i_fill_opacity_t *f = (struct i_fill_alpha_t *)fill; + struct i_fill_opacity_t *f = (struct i_fill_opacity_t *)fill; int alpha_chan = channels-1; /* channels is always 2 or 4 */ i_fcolor *datap = data;