diff options
-rw-r--r-- | UefiCpuPkg/CpuDxe/CpuDxe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.c b/UefiCpuPkg/CpuDxe/CpuDxe.c index c755d8a289..34dfbf1e7e 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.c +++ b/UefiCpuPkg/CpuDxe/CpuDxe.c @@ -1164,7 +1164,7 @@ InitInterruptDescriptorTable ( IntHandler =
(VOID*) (
OldIdt[Index].Bits.OffsetLow +
- (OldIdt[Index].Bits.OffsetHigh << 16)
+ (((UINTN) OldIdt[Index].Bits.OffsetHigh) << 16)
#if defined (MDE_CPU_X64)
+ (((UINTN) OldIdt[Index].Bits.OffsetUpper) << 32)
#endif
|