]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
http server: fix build
authorJaroslav Kysela <perex@perex.cz>
Fri, 17 Jun 2016 21:12:39 +0000 (23:12 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 17 Jun 2016 21:12:39 +0000 (23:12 +0200)
src/http.c

index 3ccdea4081caeb3a44b3a9c8838cf0e458714c27..17776da0b9d4840c85d705c6ff452ef72af95b72 100644 (file)
@@ -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);
 }