aboutsummaryrefslogtreecommitdiff
path: root/editors/imhex/files/patch-lib_libimhex_source_helpers_stacktrace.cpp
blob: 0027dae3b29c2645c44465cc84dfcf19c059fc93 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- lib/libimhex/source/helpers/stacktrace.cpp.orig	2023-06-24 11:58:12 UTC
+++ lib/libimhex/source/helpers/stacktrace.cpp
@@ -119,7 +119,7 @@
                 auto 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;