summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-08-14 18:04:27 +0200
committerdefault <nobody@localhost>2023-08-14 18:04:27 +0200
commit8c87b6894eafc22e5188f382b7bc726ed06e6919 (patch)
tree76b9eb8f106b9b48c1cfcd0b30009ed3b843fede /html.c
parent3f7e3c1d81fef35eada041b7d901974129238dce (diff)
Fixed some warning.
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);
}
}
}