summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-03-27 01:15:52 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-03-27 01:15:52 +0000
commitb7b0edd8e03078c089866ce0e6e8be6a0553b698 (patch)
treeacc05df53b4dbca2e203033ee42678a7977dcb1b /riscos
parente97bc3b1786e009cf46177eb5d0c17e52f627631 (diff)
downloadnetsurf-b7b0edd8e03078c089866ce0e6e8be6a0553b698.tar.gz
netsurf-b7b0edd8e03078c089866ce0e6e8be6a0553b698.tar.bz2
Squash warnings
svn path=/trunk/netsurf/; revision=6908
Diffstat (limited to 'riscos')
-rw-r--r--riscos/url_protocol.c4
1 files 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) {