Fix 32-bit build break

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11235 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney 2011-01-07 00:41:08 +00:00
parent 98fc7c77ac
commit ec44f02ecc
1 changed files with 1 additions and 1 deletions

View File

@ -1528,7 +1528,7 @@ MtrrDebugPrintAllMtrrs (
for (Index = 0; Index < MTRR_NUMBER_OF_FIXED_MTRR; Index++) { for (Index = 0; Index < MTRR_NUMBER_OF_FIXED_MTRR; Index++) {
Base = mMtrrLibFixedMtrrTable[Index].BaseAddress; Base = mMtrrLibFixedMtrrTable[Index].BaseAddress;
for (Index1 = 0; Index1 < 8; Index1++) { for (Index1 = 0; Index1 < 8; Index1++) {
MemoryType = RShiftU64 (MtrrSettings.Fixed.Mtrr[Index], Index1 * 8) & 0xff; MemoryType = (UINTN)RShiftU64 (MtrrSettings.Fixed.Mtrr[Index], Index1 * 8) & 0xff;
if (MemoryType > CacheWriteBack) { if (MemoryType > CacheWriteBack) {
MemoryType = MTRR_CACHE_INVALID_TYPE; MemoryType = MTRR_CACHE_INVALID_TYPE;
} }