From: Jaroslav Kysela Date: Fri, 17 Jun 2016 21:12:39 +0000 (+0200) Subject: http server: fix build X-Git-Tag: v4.2.1~420 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2d15eca6fb337b6e087047e552baa845de5663c2;p=thirdparty%2Ftvheadend.git http server: fix build --- 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); }