1
0
Fork 0

Fix error with implicit cast from long long to long (#4026)

This commit is contained in:
Alexander Harkness 2017-09-14 12:11:22 +01:00 committed by Mattes D
parent 307e7aaff5
commit 0968a4d360
1 changed files with 1 additions and 1 deletions

View File

@ -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);