vector: remove implicit cast warning in vector_create()

Michael
This commit is contained in:
Michael Adam 2009-08-04 23:51:29 +02:00
parent 0aa45b0d34
commit 5b81dec879

View File

@ -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;