diff options
Diffstat (limited to 'Boot/Sources/KernelLoader.cxx')
| -rw-r--r-- | Boot/Sources/KernelLoader.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Boot/Sources/KernelLoader.cxx b/Boot/Sources/KernelLoader.cxx index 02fa97e4..aaabddc3 100644 --- a/Boot/Sources/KernelLoader.cxx +++ b/Boot/Sources/KernelLoader.cxx @@ -93,7 +93,7 @@ namespace Boot UInt64 HandoverMagic; UInt32 HandoverType; - }* structHandover = (struct HANDOVER_INFORMATION_STUB*)(fBlob + sect->mPointerToRawData); + }* structHandover = (struct HANDOVER_INFORMATION_STUB*)((UIntPtr)fBlob + sect->mPointerToRawData); if (structHandover->HandoverMagic != kHandoverMagic || structHandover->HandoverType != kHOTypeKernel) |
