summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index f7fa520..51c5da2 100644
--- a/html.c
+++ b/html.c
@@ -1967,7 +1967,7 @@ int html_get_handler(const xs_dict *req, const char *q_path,
if (valid_status(status)) {
*b_size = sz;
- *ctype = xs_mime_by_ext(id);
+ *ctype = (char *)xs_mime_by_ext(id);
}
}
}