Static cast for calloc.