diff options
-rw-r--r-- | src/vector.c | 2 |
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; |