1
0
Fork 0

fix Visual Studio warning

This commit is contained in:
Jan Steemann 2016-04-25 14:17:35 +02:00
parent 80bf3bbbb2
commit f93017d880
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ void HeartbeatThread::runDBServer() {
CONDITION_LOCKER(locker, _condition);
wasNotified = _wasNotified;
if (!wasNotified) {
locker.wait(remain * 1000000);
locker.wait(static_cast<uint64_t>(remain) * 1000000);
wasNotified = _wasNotified;
_wasNotified = false;
}