summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/reqs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reqs.c b/src/reqs.c
index 7bd489c..39f3166 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -296,7 +296,7 @@ ERROR_EXIT:
static int
extract_ssl_url (const char *url, struct request_s *request)
{
- request->host = safemalloc (strlen (url) + 1);
+ request->host = (char *)safemalloc (strlen (url) + 1);
if (!request->host)
return -1;