Corrected calloc parameters.