cast data->size to match printf format