From cdc4f2db8902e42651c6b4b2702129047d515439 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Tue, 11 Jul 2023 09:21:13 +0200 Subject: [PATCH] patterns: Updated pattern language --- lib/external/pattern_language | 2 +- lib/libimhex/source/helpers/stacktrace.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/external/pattern_language b/lib/external/pattern_language index c819fff4e..ccc226871 160000 --- a/lib/external/pattern_language +++ b/lib/external/pattern_language @@ -1 +1 @@ -Subproject commit c819fff4e76325d14cc4b48411a459a759d8e4b4 +Subproject commit ccc22687174ecf27ac3f273131a763575e9a0ec7 diff --git a/lib/libimhex/source/helpers/stacktrace.cpp b/lib/libimhex/source/helpers/stacktrace.cpp index e30476c80..14d3a4314 100644 --- a/lib/libimhex/source/helpers/stacktrace.cpp +++ b/lib/libimhex/source/helpers/stacktrace.cpp @@ -116,10 +116,10 @@ static std::vector result; std::array addresses; - auto count = backtrace(addresses.data(), addresses.size()); + size_t count = backtrace(addresses.data(), addresses.size()); auto functions = backtrace_symbols(addresses.data(), count); - for (i32 i = 0; i < count; i++) + for (size_t i = 0; i < count; i++) result.push_back(StackFrame { "", functions[i], 0 }); return result;