summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-04 23:51:29 +0200
committerMichael Adam <obnox@samba.org>2009-08-04 23:51:29 +0200
commit5b81dec8796a635bae6223ec0f0b4a90748bdcfd (patch)
treecb9cc88541fc71f631ac8523a622c435c0e014d9
parent0aa45b0d3490a343cc471d838ea5b5d6df925592 (diff)
downloadtinyproxy-5b81dec8796a635bae6223ec0f0b4a90748bdcfd.tar.gz
tinyproxy-5b81dec8796a635bae6223ec0f0b4a90748bdcfd.zip
vector: remove implicit cast warning in vector_create()
Michael
Diffstat (limited to '')
-rw-r--r--src/vector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vector.c b/src/vector.c
index 5d33cbd..a930261 100644
--- a/src/vector.c
+++ b/src/vector.c
@@ -60,7 +60,7 @@ vector_create (void)
{
vector_t vector;
- vector = safemalloc (sizeof (struct vector_s));
+ vector = (vector_t)safemalloc (sizeof (struct vector_s));
if (!vector)
return NULL;