OvmfPkg/Xen: Fix VS2019 build issues
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3722 Fix VS2019 NOOPT build issues related to converting a larger integer value to a smaller integer value. Cc: Anthony Perard <anthony.perard@citrix.com> Cc: Julien Grall <julien@xen.org> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
22c3b5a865
commit
a92559671a
@@ -154,7 +154,7 @@ GetSystemMemorySizeBelow4gb (
|
||||
HighestAddress = GetHighestSystemMemoryAddress (TRUE);
|
||||
ASSERT (HighestAddress > 0 && HighestAddress <= BASE_4GB);
|
||||
|
||||
return HighestAddress;
|
||||
return (UINT32)HighestAddress;
|
||||
}
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user