summaryrefslogtreecommitdiff
path: root/riscos/options.c
diff options
context:
space:
mode:
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");