Commit f498e5fa authored by Olaf Meeuwissen's avatar Olaf Meeuwissen

genesys: Add missing pointer cast on malloc call

Fixes build on Fedora 29 and 30.
parent 2bb5ed65
Pipeline #62149326 passed with stages
in 15 minutes and 41 seconds
......@@ -2254,7 +2254,7 @@ void sanei_gl_vector_reserve(Genesys_Vector* v, size_t count)
if (count <= v->capacity)
return;
char* new_data = malloc(count * v->element_size);
char* new_data = (char *) malloc(count * v->element_size);
if (v->data != NULL)
{
memcpy(new_data, v->data, v->size * v->element_size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment