Skip to content

Commit

Permalink
Update primitives.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
AZero13 committed Sep 6, 2022
1 parent 0495771 commit fd91cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stl/src/primitives.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ namespace Concurrency::details {

bool wait_for(stl_critical_section_interface* lock, unsigned int timeout) override {
return SleepConditionVariableSRW(&m_condition_variable,
dynamic_cast<stl_critical_section_win7*>(lock)->native_handle(), timeout, 0)
static_cast<stl_critical_section_win7*>(lock)->native_handle(), timeout, 0)
!= 0;
}

Expand Down

0 comments on commit fd91cfc

Please sign in to comment.