From 59fb052818656e74162d7f026f7089ec42c1e8a0 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 27 Dec 2003 00:11:57 +0000 Subject: [project @ 2003-12-27 00:11:57 by jmb] Tidy code to reduce compiler warnings. htmlredraw.c and plugin.c produce the most now. Hopefully I haven't broken anything ;) svn path=/import/netsurf/; revision=451 --- riscos/htmlredraw.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'riscos/htmlredraw.c') diff --git a/riscos/htmlredraw.c b/riscos/htmlredraw.c index 60f95efe0..37ff71b10 100644 --- a/riscos/htmlredraw.c +++ b/riscos/htmlredraw.c @@ -131,7 +131,8 @@ void html_redraw_box(struct content *content, struct box * box, } if (box->object /*&& box->object->type != CONTENT_HTML*/) { - content_redraw(box->object, x, y, width, height, x0, y0, x1, y1); + content_redraw(box->object, x, y, (unsigned int)width, + (unsigned int)height, x0, y0, x1, y1); } else if (box->gadget && (box->gadget->type == GADGET_CHECKBOX || @@ -226,6 +227,14 @@ void html_redraw_box(struct content *content, struct box * box, LOG(("writing GADGET RADIO")); wimp_plot_icon(&icon); break; + case GADGET_HIDDEN: + case GADGET_TEXTBOX: + case GADGET_TEXTAREA: + case GADGET_IMAGE: + case GADGET_PASSWORD: + case GADGET_SUBMIT: + case GADGET_RESET: + break; } } else if (box->text && box->font) { -- cgit v1.2.3