On 8/13/21 8:00 AM, Olaf Hering wrote: > Am Fri, 13 Aug 2021 07:52:31 -0600 > schrieb Jim Fehlig <jfehlig at suse.com>: > >> Why remove the cast? > > Because ->discard is of type virDomainDiskDiscard, the function can receive such type right away. Ah, I missed the change to the function signature. Jim