Fix calloc() type mismatch