Fix analyser issues

This commit is contained in:
vit9696 2018-11-14 19:17:06 +03:00
parent 7ab6dd4285
commit e1c0b08fc0
2 changed files with 2 additions and 2 deletions

View file

@ -215,7 +215,7 @@ USTATUS NvramParser::parseNvarStore(const UModelIndex & index)
goto parsing_done;
}
timestamp = readUnaligned((UINT64*)(tail.constData()) + sizeof(UINT8));
timestamp = readUnaligned((UINT64*)(tail.constData() + sizeof(UINT8)));
hash = tail.mid(sizeof(UINT64) + sizeof(UINT8), SHA256_HASH_SIZE);
hasTimestamp = true;
hasHash = true;