Minor: typecast realloc output to char*