vector: remove implicit cast warning in vector_create()
Michael
This commit is contained in:
parent
0aa45b0d34
commit
5b81dec879
@ -60,7 +60,7 @@ vector_create (void)
|
|||||||
{
|
{
|
||||||
vector_t vector;
|
vector_t vector;
|
||||||
|
|
||||||
vector = safemalloc (sizeof (struct vector_s));
|
vector = (vector_t)safemalloc (sizeof (struct vector_s));
|
||||||
if (!vector)
|
if (!vector)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user