summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Root.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index 9c92a10b9..ad54a075c 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -90,7 +90,7 @@ void cRoot::InputThread(cRoot & a_Params)
static const std::chrono::microseconds PollPeriod = std::chrono::milliseconds{ 100 };
timeval Timeout{ 0, 0 };
- Timeout.tv_usec = PollPeriod.count();
+ Timeout.tv_usec = static_cast<long>(PollPeriod.count());
fd_set ReadSet;
FD_ZERO(&ReadSet);