Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/gansm/finalcut
Browse files Browse the repository at this point in the history
  • Loading branch information
gansm committed Jun 18, 2023
2 parents 1363fe2 + 481851d commit e5259b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions final/eventloop/timer_monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ std::mutex timer_nodes_mutex{};
const auto seconds{std::chrono::duration_cast<std::chrono::seconds>(duration)};
duration -= seconds;

return timespec{ static_cast<time_t>(seconds.count())
, static_cast<long>(duration.count()) };
return timespec{static_cast<time_t>(seconds.count()), duration.count()};
}

//----------------------------------------------------------------------
Expand Down

0 comments on commit e5259b1

Please sign in to comment.