summaryrefslogtreecommitdiff
path: root/riscos/gui.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-03-27 02:20:22 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-03-27 02:20:22 +0000
commit58f4b10b875465c9b48eea97d802926cc358df9b (patch)
treeb7240d52525524d0dc437b43f4643c786bc6931a /riscos/gui.c
parentbd06e8e9be8a8bfd44ba4b327c630b3acdb2e974 (diff)
downloadnetsurf-58f4b10b875465c9b48eea97d802926cc358df9b.tar.gz
netsurf-58f4b10b875465c9b48eea97d802926cc358df9b.tar.bz2
Squash warnings
svn path=/trunk/netsurf/; revision=6927
Diffstat (limited to 'riscos/gui.c')
-rw-r--r--riscos/gui.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/riscos/gui.c b/riscos/gui.c
index 5530a8965..7b0f94258 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -2222,8 +2222,9 @@ void ro_gui_view_source(struct content *content)
message.file_name[211] = '\0';
error = xosfile_save_stamped(message.file_name,
ro_content_filetype(content),
- content->source_data,
- content->source_data + content->source_size);
+ (byte *) content->source_data,
+ (byte *) content->source_data +
+ content->source_size);
if (error) {
LOG(("xosfile_save_stamped failed: 0x%x: %s",
error->errnum, error->errmess));