diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/event_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event_manager.cc b/src/event_manager.cc index 7596b47f..2c77e144 100644 --- a/src/event_manager.cc +++ b/src/event_manager.cc @@ -86,7 +86,7 @@ void EventManager::handle_next_events(EventMode mode) using namespace std::chrono; auto timeout = duration_cast<microseconds>(next_timer - Clock::now()).count(); - constexpr auto us = 1000000000ll; + constexpr auto us = 1000000; timeval tv{ (time_t)(timeout / us), (suseconds_t)(timeout % us) }; int res = select(max_fd + 1, &rfds, nullptr, nullptr, &tv); |
