From 3bfd7142dffed8d044f8f86a0e7ab73388370e5a Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 28 Mar 2009 01:00:31 +0000 Subject: Aliasing fixes svn path=/trunk/netsurf/; revision=6954 --- riscos/sslcert.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'riscos/sslcert.c') diff --git a/riscos/sslcert.c b/riscos/sslcert.c index e588ba239..aa5168f0c 100644 --- a/riscos/sslcert.c +++ b/riscos/sslcert.c @@ -36,8 +36,9 @@ #include "riscos/dialog.h" #include "riscos/textarea.h" #include "riscos/treeview.h" -#include "riscos/wimp_event.h" #include "riscos/wimp.h" +#include "riscos/wimp_event.h" +#include "riscos/wimputils.h" #include "utils/log.h" #include "utils/utils.h" @@ -254,7 +255,7 @@ void gui_cert_verify(struct browser_window *bw, struct content *c, state.visible.x0 += istate.icon.extent.x0 + 20; state.visible.y0 = state.visible.y1 + istate.icon.extent.y0 + 20; state.visible.y1 += istate.icon.extent.y1 - 32; - error = xwimp_open_window_nested((wimp_open *)&state, ssl_w, + error = xwimp_open_window_nested(PTR_WIMP_OPEN(&state), ssl_w, wimp_CHILD_LINKS_PARENT_VISIBLE_BOTTOM_OR_LEFT << wimp_CHILD_XORIGIN_SHIFT | wimp_CHILD_LINKS_PARENT_VISIBLE_TOP_OR_RIGHT -- cgit v1.2.3