]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/MtrrLib/UnitTest: Fix 32-bit GCC build issues
authorMichael D Kinney <michael.d.kinney@intel.com>
Tue, 2 Nov 2021 16:08:18 +0000 (09:08 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 5 Nov 2021 19:44:11 +0000 (19:44 +0000)
commit15e635d1b5f58461a5d8a03fba026e620b46e59e
tree6463ed4100f99805c9cc621802b2493f2caacbf0
parentb0a03ca4a9763ed85f560303902d289d87e53762
UefiCpuPkg/MtrrLib/UnitTest: Fix 32-bit GCC build issues

When using UT_ASSERT_EQUAL() on a pointer value, it must be
cast to UINTN.  This follows the samples provided with the
UnitTestFrameworkPkg.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
UefiCpuPkg/Library/MtrrLib/UnitTest/MtrrLibUnitTest.c