Fix some warnings

This commit is contained in:
vit9696 2018-07-12 22:56:51 +03:00
parent 616464ba29
commit 0a2f115056
4 changed files with 7 additions and 7 deletions

View file

@ -598,7 +598,7 @@ void UEFITool::extract(const UINT8 mode)
QByteArray extracted;
QString name;
UINT8 result = ffsOps->extract(index, name, extracted, mode);
USTATUS result = ffsOps->extract(index, name, extracted, mode);
if (result) {
QMessageBox::critical(this, tr("Extraction failed"), errorCodeToUString(result), QMessageBox::Ok);
return;
@ -820,7 +820,7 @@ void UEFITool::openImageFile(QString path)
setWindowTitle(tr("UEFITool %1 - %2").arg(version).arg(fileInfo.fileName()));
// Parse the image
UINT8 result = ffsParser->parse(buffer);
USTATUS result = ffsParser->parse(buffer);
showParserMessages();
if (result) {
QMessageBox::critical(this, tr("Image parsing failed"), errorCodeToUString(result), QMessageBox::Ok);