From 8365afbf1fe5d430344a9eed40661376d43058eb Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Mon, 11 Jun 2001 03:18:55 +0000 Subject: changed the order of casts slightly CVS patchset: 164 CVS date: 2001/06/11 03:18:55 --- src/video_out/video_out_aa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/video_out/video_out_aa.c b/src/video_out/video_out_aa.c index f98b1e718..b67847b01 100644 --- a/src/video_out/video_out_aa.c +++ b/src/video_out/video_out_aa.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_aa.c,v 1.2 2001/06/11 01:27:42 heikos Exp $ + * $Id: video_out_aa.c,v 1.3 2001/06/11 03:18:55 heikos Exp $ * * video_out_aa.c, ascii-art output plugin for xine * @@ -169,8 +169,8 @@ static void aa_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen) { for (y = 0; ycontext); y++) { for (x = 0; xcontext); x++) { - *img++ = src_image[(int) (((double) x * x_fact) + - frame->width * ((double) y * y_fact))]; + *img++ = src_image[((int)((double) x * x_fact) + + frame->width * (int)((double) y * y_fact))]; } } -- cgit v1.2.3