summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 09:21:28 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 09:21:28 +0200
commitf99edadc92900ef2262e38820e66a2061331a3aa (patch)
tree45c8652fd508c62b19a2c8fc86a247c8c634b2e7 /src
parentbaf634194c89b86b9df42bc84c1dd1d4603d285c (diff)
downloadtinyproxy-f99edadc92900ef2262e38820e66a2061331a3aa.tar.gz
tinyproxy-f99edadc92900ef2262e38820e66a2061331a3aa.zip
http_message_add_headers(): fix implicit cast warning.
Michael
Diffstat (limited to '')
-rw-r--r--src/http-message.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http-message.c b/src/http-message.c
index f95f472..a184fa1 100644
--- a/src/http-message.c
+++ b/src/http-message.c
@@ -207,7 +207,8 @@ http_message_add_headers (http_message_t msg, const char **headers,
*/
if (msg->headers.used + num_headers > msg->headers.total)
{
- new_headers = safecalloc (msg->headers.total * 2, sizeof (char *));
+ new_headers = (const char **)safecalloc (msg->headers.total * 2,
+ sizeof (char *));
if (new_headers == NULL)
return -ENOMEM;