summaryrefslogtreecommitdiff
path: root/riscos/options.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2003-12-27 00:11:57 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2003-12-27 00:11:57 +0000
commit59fb052818656e74162d7f026f7089ec42c1e8a0 (patch)
treee5b8bf21e2201adf5170f2bfde49ae4423902f63 /riscos/options.c
parent2363d8f5af7302924a0ce3608d971f5594710f3f (diff)
downloadnetsurf-59fb052818656e74162d7f026f7089ec42c1e8a0.tar.gz
netsurf-59fb052818656e74162d7f026f7089ec42c1e8a0.tar.bz2
[project @ 2003-12-27 00:11:57 by jmb]
Tidy code to reduce compiler warnings. htmlredraw.c and plugin.c produce the most now. Hopefully I haven't broken anything ;) svn path=/import/netsurf/; revision=451
Diffstat (limited to 'riscos/options.c')
-rw-r--r--riscos/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/options.c b/riscos/options.c
index c570ddbfb..a1c096777 100644
--- a/riscos/options.c
+++ b/riscos/options.c
@@ -143,7 +143,7 @@ void options_read(struct options* opt, char* filename)
}
LOG(("Allocating %d bytes", size));
- data = xcalloc(size, sizeof(char));
+ data = xcalloc((unsigned int)size, sizeof(char));
messagetrans_open_file(&cb, fn, data);
opt->http = lookup_yesno(&cb, "USE_HTTP", "N");