From d6ceb37fade318498d00df9117e24db01c9bdde4 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 11 Aug 2004 16:27:30 +0000 Subject: [PATCH] [project @ 2004-08-11 16:27:30 by jmb] Cast correctly for url_nice - missed from url function work a couple of days ago svn path=/import/netsurf/; revision=1209 --- riscos/save.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscos/save.c b/riscos/save.c index b73f57a8d..bfca90b25 100644 --- a/riscos/save.c +++ b/riscos/save.c @@ -103,7 +103,7 @@ void ro_gui_save_open(gui_save_type save_type, struct content *c, /* filename */ name = gui_save_table[save_type].name; if (c) { - if ((res = url_nice(c->url, &nice)) == URL_FUNC_OK) + if ((res = url_nice(c->url, (char **)&nice)) == URL_FUNC_OK) name = nice; } ro_gui_set_icon_string(dialog_saveas, ICON_SAVE_PATH, name);