Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Jul 28, 2024
1 parent 6472d1b commit e2aabe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion far/exception_handler_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ namespace tests
using func_t = void(*)();

volatile const func_t InvalidAddress = std::bit_cast<func_t>(intptr_t{1});
assert(!os::memory::is_pointer(InvalidAddress));
assert(!os::memory::is_pointer(std::bit_cast<void const*>(InvalidAddress)));
InvalidAddress();
}

Expand Down

0 comments on commit e2aabe0

Please sign in to comment.