diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-06-11 12:52:23 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-06-11 12:52:23 +0000 |
commit | adb9ed58f41c77dc7243dc1b6ee6267f6a8ec0d4 (patch) | |
tree | 3c16aabeff724c7c205e182f31dc75f5ba6fce20 | |
parent | e93271501092ea328e2163a4d3c4f348e48ca572 (diff) | |
download | netsurf-adb9ed58f41c77dc7243dc1b6ee6267f6a8ec0d4.tar.gz netsurf-adb9ed58f41c77dc7243dc1b6ee6267f6a8ec0d4.tar.bz2 |
[project @ 2004-06-11 12:52:23 by jmb]
Cast to avoid compiler warning
svn path=/import/netsurf/; revision=962
-rw-r--r-- | riscos/htmlredraw.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |