On Fri, 2021-11-12 at 01:27 +0000, Ni, Ray wrote: [...] > > + > > + return (CurrentAttr == Attr); > > 2. I guess a "BOOLEAN" type cast is needed.
It shouldn't. Unless there's a major screw up in the way BOOLEAN works in the UEFI API, all logic operations should already be of type BOOLEAN and if they're not that would be what needs fixing. James -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#83692): https://edk2.groups.io/g/devel/message/83692 Mute This Topic: https://groups.io/mt/86969148/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-