fix compilation

This commit is contained in:
Dmitry Frolov 2018-08-23 10:35:41 +03:00
parent ec43311867
commit da7eb36ffa
2 changed files with 3 additions and 3 deletions

View file

@ -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);