mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-24 17:08:23 +08:00
Fix meson builds
This commit is contained in:
parent
7eb565d788
commit
6c695c12a7
@ -31,6 +31,7 @@ uefitoolcommon = static_library('uefitoolcommon',
|
|||||||
'treemodel.cpp',
|
'treemodel.cpp',
|
||||||
'utility.cpp',
|
'utility.cpp',
|
||||||
'ustring.cpp',
|
'ustring.cpp',
|
||||||
|
'generated/ami_nvar.cpp',
|
||||||
'generated/intel_acbp_v1.cpp',
|
'generated/intel_acbp_v1.cpp',
|
||||||
'generated/intel_acbp_v2.cpp',
|
'generated/intel_acbp_v2.cpp',
|
||||||
'generated/intel_keym_v1.cpp',
|
'generated/intel_keym_v1.cpp',
|
||||||
|
@ -130,7 +130,7 @@ USTATUS NvramParser::parseNvarStore(const UModelIndex & index)
|
|||||||
if (previousEntry == entry)
|
if (previousEntry == entry)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (previousEntry->next() + previousEntry->offset() == entry->offset()) { // Previous link is present and valid
|
if ((UINT32)previousEntry->next() + (UINT32)previousEntry->offset() == (UINT32)entry->offset()) { // Previous link is present and valid
|
||||||
prevEntryIndex = index.model()->index(i, 0, index);
|
prevEntryIndex = index.model()->index(i, 0, index);
|
||||||
// Make sure that we are linking to a valid entry
|
// Make sure that we are linking to a valid entry
|
||||||
NVAR_ENTRY_PARSING_DATA pd = readUnaligned((NVAR_ENTRY_PARSING_DATA*)model->parsingData(prevEntryIndex).constData());
|
NVAR_ENTRY_PARSING_DATA pd = readUnaligned((NVAR_ENTRY_PARSING_DATA*)model->parsingData(prevEntryIndex).constData());
|
||||||
|
Loading…
Reference in New Issue
Block a user