summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeiko Schaefer <heikos@users.sourceforge.net>2001-06-11 03:18:55 +0000
committerHeiko Schaefer <heikos@users.sourceforge.net>2001-06-11 03:18:55 +0000
commit8365afbf1fe5d430344a9eed40661376d43058eb (patch)
tree0ad8fca6c46e8b1aa20947a45bbc0d1b96832270 /src
parentb1ca127fe13f65dea1eb64b20925336c0b7b8bf7 (diff)
downloadxine-lib-8365afbf1fe5d430344a9eed40661376d43058eb.tar.gz
xine-lib-8365afbf1fe5d430344a9eed40661376d43058eb.tar.bz2
changed the order of casts slightly
CVS patchset: 164 CVS date: 2001/06/11 03:18:55
Diffstat (limited to 'src')
-rw-r--r--src/video_out/video_out_aa.c6
1 files changed, 3 insertions, 3 deletions
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; y<aa_imgheight (this->context); y++) {
for (x = 0; x<aa_imgwidth (this->context); 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))];
}
}