summaryrefslogtreecommitdiff
path: root/riscos/configure
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-03-28 01:16:04 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-03-28 01:16:04 +0000
commit8f871d43a7ef9454b756ddfdb85b33b00bd2eb90 (patch)
treed14783fc9582370a870c3b63f5b22326ea7aec67 /riscos/configure
parent70f81c8bcf4535e2276f8bf2a3390f62a6f68c83 (diff)
downloadnetsurf-8f871d43a7ef9454b756ddfdb85b33b00bd2eb90.tar.gz
netsurf-8f871d43a7ef9454b756ddfdb85b33b00bd2eb90.tar.bz2
Aliasing fixes
svn path=/trunk/netsurf/; revision=6960
Diffstat (limited to 'riscos/configure')
-rw-r--r--riscos/configure/con_theme.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/riscos/configure/con_theme.c b/riscos/configure/con_theme.c
index 0aebd86c0..cd928326e 100644
--- a/riscos/configure/con_theme.c
+++ b/riscos/configure/con_theme.c
@@ -32,6 +32,7 @@
#include "riscos/url_complete.h"
#include "riscos/wimp.h"
#include "riscos/wimp_event.h"
+#include "riscos/wimputils.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "utils/utils.h"
@@ -126,7 +127,7 @@ bool ro_gui_options_theme_initialise(wimp_w w)
state.visible.y0 = state.visible.y1 + icon_state.icon.extent.y0 + 16;
state.visible.y1 += icon_state.icon.extent.y1 - 28;
LOG(("Y0 = %i, y1 = %i", icon_state.icon.extent.y0, icon_state.icon.extent.y1));
- error = xwimp_open_window_nested((wimp_open *)&state, w,
+ error = xwimp_open_window_nested(PTR_WIMP_OPEN(&state), w,
wimp_CHILD_LINKS_PARENT_VISIBLE_BOTTOM_OR_LEFT
<< wimp_CHILD_XORIGIN_SHIFT |
wimp_CHILD_LINKS_PARENT_VISIBLE_TOP_OR_RIGHT
@@ -366,7 +367,7 @@ void ro_gui_options_theme_load(void)
state.yscroll = 0;
state.visible.y1 = nested_y + base_extent;
state.visible.y0 = state.visible.y1 - link->toolbar->height + 2;
- xwimp_open_window_nested((wimp_open *)&state, theme_pane,
+ xwimp_open_window_nested(PTR_WIMP_OPEN(&state), theme_pane,
wimp_CHILD_LINKS_PARENT_WORK_AREA
<< wimp_CHILD_BS_EDGE_SHIFT |
wimp_CHILD_LINKS_PARENT_WORK_AREA