mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-28 05:54:50 -04:00
GCC compatibility update
- changed paths and init sequences
This commit is contained in:
parent
d62e9f6560
commit
b429c74bcf
10 changed files with 20 additions and 20 deletions
|
@ -21,7 +21,7 @@ WITHWARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
#include "me.h"
|
||||
|
||||
FfsParser::FfsParser(TreeModel* treeModel, QObject *parent)
|
||||
: model(treeModel), QObject(parent)
|
||||
: QObject(parent), model(treeModel)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -1785,7 +1785,7 @@ STATUS FfsParser::parseCompressedSectionBody(const QModelIndex & index)
|
|||
}
|
||||
|
||||
// Check reported uncompressed size
|
||||
if (pdata.section.compressed.uncompressedSize != decompressed.size()) {
|
||||
if (pdata.section.compressed.uncompressedSize != (UINT32)decompressed.size()) {
|
||||
msg(tr("parseCompressedSectionBody: decompressed size stored in header %1h (%2) differs from actual %3h (%4)")
|
||||
.hexarg(pdata.section.compressed.uncompressedSize)
|
||||
.arg(pdata.section.compressed.uncompressedSize)
|
||||
|
|
|
@ -61,7 +61,7 @@ private:
|
|||
TreeModel *model;
|
||||
QVector<QPair<QString, QModelIndex> > messagesVector;
|
||||
|
||||
STATUS parseIntelImage(const QByteArray & intelImage, const QModelIndex & parent, QModelIndex & root = QModelIndex());
|
||||
STATUS parseIntelImage(const QByteArray & intelImage, const QModelIndex & parent, QModelIndex & root);
|
||||
STATUS parseGbeRegion(const QByteArray & gbe, const UINT32 parentOffset, const QModelIndex & parent, QModelIndex & index);
|
||||
STATUS parseMeRegion(const QByteArray & me, const UINT32 parentOffset, const QModelIndex & parent, QModelIndex & index);
|
||||
STATUS parseBiosRegion(const QByteArray & bios, const UINT32 parentOffset, const QModelIndex & parent, QModelIndex & index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue