From 58f4b10b875465c9b48eea97d802926cc358df9b Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 27 Mar 2009 02:20:22 +0000 Subject: Squash warnings svn path=/trunk/netsurf/; revision=6927 --- riscos/gui.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'riscos/gui.c') 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)); -- cgit v1.2.3