Fix warning about incorrect array type.