From 0968a4d360d5a28f9d474eb1bf878ed5155b1310 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Thu, 14 Sep 2017 12:11:22 +0100 Subject: Fix error with implicit cast from long long to long (#4026) --- src/Root.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Root.cpp') 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(PollPeriod.count()); fd_set ReadSet; FD_ZERO(&ReadSet); -- cgit v1.2.3