mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
fix: Many format string warnings on MacOS and some Linux distros
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#include <filesystem>
|
||||
#include <thread>
|
||||
|
||||
#include <imgui_imhex_extensions.h>
|
||||
#include <hex/helpers/paths.hpp>
|
||||
|
||||
namespace hex::plugin::builtin {
|
||||
@@ -98,9 +97,9 @@ namespace hex::plugin::builtin {
|
||||
|
||||
if (!wholeDataMatch) {
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::Text("0x%llX : 0x%llX", address, address + size - 1);
|
||||
ImGui::TextFormatted("0x{0:X} : 0x{1:X}", address, address + size - 1);
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::Text("0x%lX", size);
|
||||
ImGui::TextFormatted("0x{0:X}", size);
|
||||
} else {
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::TextColored(ImVec4(0.92F, 0.25F, 0.2F, 1.0F), "%s", static_cast<const char*>("hex.builtin.view.yara.whole_data"_lang));
|
||||
|
||||
Reference in New Issue
Block a user