From 9481c70ecdf8cd9148473122a11632aa8edb3e4f Mon Sep 17 00:00:00 2001 From: WerWolv Date: Tue, 2 Mar 2021 14:32:18 +0100 Subject: [PATCH] sys: ImU64 is not 64 bit everywhere... --- include/views/view_information.hpp | 2 +- source/views/view_information.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/views/view_information.hpp b/include/views/view_information.hpp index 3210a131c..e4112b45a 100644 --- a/include/views/view_information.hpp +++ b/include/views/view_information.hpp @@ -26,7 +26,7 @@ namespace hex { float m_highestBlockEntropy = 0; std::vector m_blockEntropy; - std::array m_valueCounts = { 0 }; + std::array m_valueCounts = { 0 }; bool m_analyzing = false; std::pair m_analyzedRegion = { 0, 0 }; diff --git a/source/views/view_information.cpp b/source/views/view_information.cpp index 1bdf657e4..128f0b37e 100644 --- a/source/views/view_information.cpp +++ b/source/views/view_information.cpp @@ -191,7 +191,7 @@ namespace hex { ImPlot::SetNextPlotLimits(0, 256, 0, float(*std::max_element(this->m_valueCounts.begin(), this->m_valueCounts.end())) * 1.1F, ImGuiCond_Always); if (ImPlot::BeginPlot("##distribution", "Address", "Count", ImVec2(-1,0), ImPlotFlags_NoLegend | ImPlotFlags_NoMenus | ImPlotFlags_NoBoxSelect, ImPlotAxisFlags_Lock, ImPlotAxisFlags_Lock)) { static auto x = []{ - std::array result{ 0 }; + std::array result{ 0 }; std::iota(result.begin(), result.end(), 0); return result; }();