mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-21 23:48:22 +08:00
Fix a type issue found by CoreQL
This commit is contained in:
parent
934ce1f3f8
commit
75a1374c0c
@ -3901,7 +3901,7 @@ USTATUS FfsParser::parseIntelMicrocodeHeader(const UByteArray & microcode, const
|
||||
+ (extendedHeader->Checksum == extendedCalculated ? UString("valid") : usprintf("invalid, should be %08Xh", extendedCalculated));
|
||||
|
||||
const INTEL_MICROCODE_EXTENDED_HEADER_ENTRY* firstEntry = (const INTEL_MICROCODE_EXTENDED_HEADER_ENTRY*)(extendedHeader + 1);
|
||||
for (UINT8 i = 0; i < extendedHeader->EntryCount; i++) {
|
||||
for (UINT32 i = 0; i < extendedHeader->EntryCount; i++) {
|
||||
const INTEL_MICROCODE_EXTENDED_HEADER_ENTRY* entry = (const INTEL_MICROCODE_EXTENDED_HEADER_ENTRY*)(firstEntry + i);
|
||||
|
||||
// Recalculate checksum after patching
|
||||
|
Loading…
Reference in New Issue
Block a user