diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2003-12-27 00:11:57 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2003-12-27 00:11:57 +0000 |
commit | 59fb052818656e74162d7f026f7089ec42c1e8a0 (patch) | |
tree | e5b8bf21e2201adf5170f2bfde49ae4423902f63 /riscos/plugin.c | |
parent | 2363d8f5af7302924a0ce3608d971f5594710f3f (diff) | |
download | netsurf-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/plugin.c')
-rw-r--r-- | riscos/plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/riscos/plugin.c b/riscos/plugin.c index d480bf8fc..4bdbdf4e9 100644 --- a/riscos/plugin.c +++ b/riscos/plugin.c @@ -439,7 +439,7 @@ void plugin_create_sysvar(const char *mime_type, char* sysvar) e = xmimemaptranslate_mime_type_to_filetype(mime_type, (bits *) &fv); - sprintf(sysvar, "%s%x", ALIAS_PREFIX, fv); + sprintf(sysvar, "%s%x", ALIAS_PREFIX, (unsigned int)fv); } /** @@ -458,7 +458,7 @@ bool plugin_handleable(const char *mime_type) return false; } - sprintf(sysvar, "%s%x", ALIAS_PREFIX, fv); + sprintf(sysvar, "%s%x", ALIAS_PREFIX, (unsigned int)fv); LOG(("%s, %s", mime_type, sysvar)); if (getenv(sysvar) == 0) return false; @@ -804,7 +804,7 @@ void plugin_write_stream(struct browser_window *bw, struct object_params *params plugin_message_stream_write *pmsw; plugin_message_stream_written *pmswt; struct plugin_message *temp; - int consumed = 0; + unsigned int consumed = 0; pmsw = (plugin_message_stream_write*)&m.data; |