mirror of https://gitee.com/bigwinds/arangodb
fix Visual Studio warning
This commit is contained in:
parent
80bf3bbbb2
commit
f93017d880
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue