mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
fix: Various clang / clang-tidy warnings (#764)
This commit is contained in:
@@ -35,7 +35,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
EventManager::subscribe<EventRegionSelected>(this, [this](Region region) {
|
||||
if (this->m_blockSize != 0)
|
||||
this->m_entropyHandlePosition = region.getStartAddress() / this->m_blockSize;
|
||||
this->m_entropyHandlePosition = region.getStartAddress() / double(this->m_blockSize);
|
||||
});
|
||||
|
||||
EventManager::subscribe<EventProviderDeleted>(this, [this](const auto*) {
|
||||
|
||||
Reference in New Issue
Block a user