try to not use casting so it will be like this :
Code:list_t **list_array = malloc(sizeof(list_t*) * max_size);
try to not use casting so it will be like this :
Code:list_t **list_array = malloc(sizeof(list_t*) * max_size);
to be a 1-1, learn C