summaryrefslogtreecommitdiff
path: root/riscos/sslcert.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-03-28 01:00:31 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-03-28 01:00:31 +0000
commit3bfd7142dffed8d044f8f86a0e7ab73388370e5a (patch)
tree0ee57124e5ed9d6a888965f491a31e7237ba961e /riscos/sslcert.c
parentf6b3442823313516d85be1d1f0e0c9e1b3e1f2e8 (diff)
downloadnetsurf-3bfd7142dffed8d044f8f86a0e7ab73388370e5a.tar.gz
netsurf-3bfd7142dffed8d044f8f86a0e7ab73388370e5a.tar.bz2
Aliasing fixes
svn path=/trunk/netsurf/; revision=6954
Diffstat (limited to 'riscos/sslcert.c')
-rw-r--r--riscos/sslcert.c5
1 files changed, 3 insertions, 2 deletions
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