From adb9ed58f41c77dc7243dc1b6ee6267f6a8ec0d4 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 11 Jun 2004 12:52:23 +0000 Subject: [project @ 2004-06-11 12:52:23 by jmb] Cast to avoid compiler warning svn path=/import/netsurf/; revision=962 --- riscos/htmlredraw.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'riscos') diff --git a/riscos/htmlredraw.c b/riscos/htmlredraw.c index 99d3ea4ae..e495c6973 100644 --- a/riscos/htmlredraw.c +++ b/riscos/htmlredraw.c @@ -579,7 +579,7 @@ void html_redraw_background(long xi, long yi, int width, int height, bool fixed = false; if (box->background == 0) return; - + /* Set the plot options */ if (ro_gui_current_redraw_gui) { if (!ro_gui_current_redraw_gui->option_background_images) return; @@ -594,7 +594,7 @@ void html_redraw_background(long xi, long yi, int width, int height, /* Get the image dimensions for our positioning and scaling */ image_size.x = box->background->width; image_size.y = box->background->height; - ro_convert_pixels_to_os_units(&image_size, -1); + ro_convert_pixels_to_os_units(&image_size, (os_mode)-1); image_width = image_size.x * scale; image_height = image_size.y * scale; @@ -625,7 +625,7 @@ void html_redraw_background(long xi, long yi, int width, int height, default: break; } - + /* handle window offset */ x = xi; if (fixed) { @@ -634,7 +634,7 @@ void html_redraw_background(long xi, long yi, int width, int height, } else { y = yi; } - + /* handle window offset */ x = xi; if (fixed) { -- cgit v1.2.3