Skip to content

Commit

Permalink
Fix compilation issue on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
tzubcic-tolar committed Oct 5, 2020
1 parent 7cf6cc9 commit f7ad514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backward.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ class StackTraceImpl<system_tag::current_tag> : public StackTraceImplHolder {
NOINLINE
size_t load_here(size_t depth = 32, void *context = nullptr,
void *error_addr = nullptr) {
set_context(context);
set_context(static_cast<CONTEXT*>(context));
set_error_addr(error_addr);
CONTEXT localCtx; // used when no context is provided

Expand Down

0 comments on commit f7ad514

Please sign in to comment.