From 2d15eca6fb337b6e087047e552baa845de5663c2 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 17 Jun 2016 23:12:39 +0200 Subject: [PATCH] http server: fix build --- src/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.c b/src/http.c index 3ccdea408..17776da0b 100644 --- a/src/http.c +++ b/src/http.c @@ -655,7 +655,7 @@ http_redirect(http_connection_t *hc, const char *location, http_send_reply(hc, HTTP_STATUS_FOUND, "text/html", NULL, loc, 0); if (loc != location) - free(loc); + free((char *)loc); } -- 2.47.3