diff options
author | Alexander Harkness <me@bearbin.net> | 2017-09-14 13:11:22 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2017-09-14 13:11:22 +0200 |
commit | 0968a4d360d5a28f9d474eb1bf878ed5155b1310 (patch) | |
tree | ff7a3ce92bdc90a09f172898966519cb1dda9e3b /src/Root.cpp | |
parent | Fix switch warnings (#4013) (diff) | |
download | cuberite-0968a4d360d5a28f9d474eb1bf878ed5155b1310.tar cuberite-0968a4d360d5a28f9d474eb1bf878ed5155b1310.tar.gz cuberite-0968a4d360d5a28f9d474eb1bf878ed5155b1310.tar.bz2 cuberite-0968a4d360d5a28f9d474eb1bf878ed5155b1310.tar.lz cuberite-0968a4d360d5a28f9d474eb1bf878ed5155b1310.tar.xz cuberite-0968a4d360d5a28f9d474eb1bf878ed5155b1310.tar.zst cuberite-0968a4d360d5a28f9d474eb1bf878ed5155b1310.zip |
Diffstat (limited to 'src/Root.cpp')
-rw-r--r-- | src/Root.cpp | 2 |
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); |