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;