format_data is void *, no need for cast.