summaryrefslogtreecommitdiff
path: root/content/fetchcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetchcache.c')
-rw-r--r--content/fetchcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/fetchcache.c b/content/fetchcache.c
index 23f8fc19a..f6fcb01f8 100644
--- a/content/fetchcache.c
+++ b/content/fetchcache.c
@@ -160,7 +160,7 @@ void fetchcache_callback(fetch_msg msg, void *p, char *data, unsigned long size)
mime_type = fetchcache_parse_type(data, &params);
type = content_lookup(mime_type);
LOG(("FETCH_TYPE, type %u", type));
- content_set_type(c, type, mime_type, params);
+ content_set_type(c, type, mime_type, (const char**)params);
free(mime_type);
for (i = 0; params[i]; i++)
free(params[i]);