diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-28 01:15:02 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-28 01:15:02 +0000 |
commit | 70f81c8bcf4535e2276f8bf2a3390f62a6f68c83 (patch) | |
tree | f14e2b55b5d88275f0c495bcee046a22bb2de140 /riscos | |
parent | 2fdb251f0c8624d541684a8cd346bff0de455cc9 (diff) | |
download | netsurf-70f81c8bcf4535e2276f8bf2a3390f62a6f68c83.tar.gz netsurf-70f81c8bcf4535e2276f8bf2a3390f62a6f68c83.tar.bz2 |
Aliasing fixes
svn path=/trunk/netsurf/; revision=6959
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/dialog.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/riscos/dialog.c b/riscos/dialog.c index c311df1cf..f0520eb73 100644 --- a/riscos/dialog.c +++ b/riscos/dialog.c @@ -46,6 +46,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/url.h" @@ -331,7 +332,7 @@ void ro_gui_dialog_open(wimp_w w) state.visible.y0 = screen_y - dy; state.visible.y1 = screen_y + dy; state.next = wimp_TOP; - ro_gui_open_window_request((wimp_open*)&state); + ro_gui_open_window_request(PTR_WIMP_OPEN(&state)); /* Set the caret position */ ro_gui_set_caret_first(w); @@ -458,7 +459,7 @@ bool ro_gui_dialog_open_top(wimp_w w, struct toolbar *toolbar, /* open the window at the top of the stack */ state.next = wimp_TOP; - ro_gui_open_window_request((wimp_open*)&state); + ro_gui_open_window_request(PTR_WIMP_OPEN(&state)); return open; } @@ -523,7 +524,7 @@ void ro_gui_dialog_open_xy(wimp_w w, int x, int y) /* open the window at the top of the stack */ state.next = wimp_TOP; - ro_gui_open_window_request((wimp_open *) &state); + ro_gui_open_window_request(PTR_WIMP_OPEN(&state)); } @@ -577,7 +578,7 @@ void ro_gui_dialog_open_centre_parent(wimp_w parent, wimp_w child) { state.visible.y0 = mid_y - dimension / 2; state.visible.y1 = state.visible.y0 + dimension; state.next = wimp_TOP; - ro_gui_open_window_request((wimp_open*)&state); + ro_gui_open_window_request(PTR_WIMP_OPEN(&state)); } |