summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;