diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-27 02:20:22 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-27 02:20:22 +0000 |
commit | 58f4b10b875465c9b48eea97d802926cc358df9b (patch) | |
tree | b7240d52525524d0dc437b43f4643c786bc6931a /riscos/gui.c | |
parent | bd06e8e9be8a8bfd44ba4b327c630b3acdb2e974 (diff) | |
download | netsurf-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.c | 5 |
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)); |