diff --git a/src/unwind/unwind_with_dbghelp.cpp b/src/unwind/unwind_with_dbghelp.cpp index c6f035a..375ee2e 100644 --- a/src/unwind/unwind_with_dbghelp.cpp +++ b/src/unwind/unwind_with_dbghelp.cpp @@ -121,7 +121,7 @@ namespace detail { // On x86/x64/arm, as far as I can tell, the frame return address is always one after the call // So we just decrement to get the pc back inside the `call` / `bl` // This is done with _Unwind too but conditionally based on info from _Unwind_GetIPInfo. - trace.push_back(frame.AddrPC.Offset - 1); + trace.push_back(static_cast(frame.AddrPC.Offset) - 1); } } else { // base