On 11/3/21 04:05, Michael D Kinney wrote:
> When using will_return() on a pointer value, it must be
> cast to UINTN to be compatible with 32-bit GCC builds.
> This uses the same approach in samples provided in the
> UnitTestFramworkPkg when passing pointer values to
> UT_ASSERT_EQUAL().
> 
> Cc: Hao A Wu <[email protected]>
> Cc: Liming Gao <[email protected]>
> Cc: Bret Barkelew <[email protected]>
> Signed-off-by: Michael D Kinney <[email protected]>
> ---
>  .../RuntimeDxeUnitTest/VariableLockRequestToLockUnitTest.c  | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Philippe Mathieu-Daude <[email protected]>



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#83255): https://edk2.groups.io/g/devel/message/83255
Mute This Topic: https://groups.io/mt/86783676/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to