mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-27 13:34:33 -04:00
Add Phoenix FlashMap parser
This commit is contained in:
parent
6672450aef
commit
af14650f4e
20 changed files with 412 additions and 39 deletions
|
@ -21,7 +21,7 @@ void insyde_fdc_t::_read() {
|
|||
m_fdc_size = m__io->read_u4le();
|
||||
{
|
||||
uint32_t _ = fdc_size();
|
||||
if (!( ((_ > len_fdc_store_header()) && (_ < 4294967295UL)) )) {
|
||||
if (!( ((_ > static_cast<uint32_t>(len_fdc_store_header())) && (_ < 4294967295UL)) )) {
|
||||
throw kaitai::validation_expr_error<uint32_t>(fdc_size(), _io(), std::string("/seq/1"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue