From 5b81dec8796a635bae6223ec0f0b4a90748bdcfd Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 4 Aug 2009 23:51:29 +0200 Subject: vector: remove implicit cast warning in vector_create() Michael --- src/vector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3