mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/CoreDxe: Fixed compiler warning 'integer conversion resulted in a change of sign'
Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Sun Rui <rui.sun@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13560 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c85c6de761
commit
68db122863
|
@ -128,7 +128,7 @@ LookupPoolHead (
|
||||||
// MemoryType values in the range 0x80000000..0xFFFFFFFF are reserved for use by UEFI
|
// MemoryType values in the range 0x80000000..0xFFFFFFFF are reserved for use by UEFI
|
||||||
// OS loaders that are provided by operating system vendors
|
// OS loaders that are provided by operating system vendors
|
||||||
//
|
//
|
||||||
if (MemoryType >= (INT32)0x80000000 && MemoryType <= (INT32)0xffffffff) {
|
if ((INT32)MemoryType < 0) {
|
||||||
|
|
||||||
for (Link = mPoolHeadList.ForwardLink; Link != &mPoolHeadList; Link = Link->ForwardLink) {
|
for (Link = mPoolHeadList.ForwardLink; Link != &mPoolHeadList; Link = Link->ForwardLink) {
|
||||||
Pool = CR(Link, POOL, Link, POOL_SIGNATURE);
|
Pool = CR(Link, POOL, Link, POOL_SIGNATURE);
|
||||||
|
|
Loading…
Reference in New Issue