From b7b0edd8e03078c089866ce0e6e8be6a0553b698 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 27 Mar 2009 01:15:52 +0000 Subject: Squash warnings svn path=/trunk/netsurf/; revision=6908 --- riscos/url_protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/riscos/url_protocol.c b/riscos/url_protocol.c index 5e0d70574..5db46d8f0 100644 --- a/riscos/url_protocol.c +++ b/riscos/url_protocol.c @@ -172,13 +172,13 @@ void ro_url_load(const char *url) return; } - sprintf(command, "Alias$URLOpen_%.*s", colon - url, url); + sprintf(command, "Alias$URLOpen_%.*s", (int) (colon - url), url); if (!getenv(command)) { free(command); return; } - sprintf(command, "URLOpen_%.*s %s", colon - url, url, url); + sprintf(command, "URLOpen_%.*s %s", (int) (colon - url), url, url); error = xwimp_start_task(command, 0); if (error) { -- cgit v1.2.3