mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-13 14:44:47 -04:00
fix compilation
This commit is contained in:
parent
ec43311867
commit
da7eb36ffa
2 changed files with 3 additions and 3 deletions
|
@ -755,7 +755,7 @@ out:
|
|||
}
|
||||
if (parser->newPeiCoreEntryPoint && parser->peiCoreEntryPoint != parser->newPeiCoreEntryPoint) {
|
||||
// Replace last occurrence of oldPeiCoreEntryPoint with newPeiCoreEntryPoint
|
||||
QByteArray old((char*)&parser->peiCoreEntryPoint, sizeof(parser->peiCoreEntryPoint));
|
||||
UByteArray old((char*)&parser->peiCoreEntryPoint, sizeof(parser->peiCoreEntryPoint));
|
||||
int i = vtf.lastIndexOf(old);
|
||||
if (i == -1)
|
||||
msg("patchVtf: PEI Core entry point can't be found in VTF. VTF not patched.", index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue