From f93017d880e4393bcad16a6279e337b8e5810425 Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Mon, 25 Apr 2016 14:17:35 +0200 Subject: [PATCH] fix Visual Studio warning --- arangod/Cluster/HeartbeatThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arangod/Cluster/HeartbeatThread.cpp b/arangod/Cluster/HeartbeatThread.cpp index b2d7201633..473eacf5a2 100644 --- a/arangod/Cluster/HeartbeatThread.cpp +++ b/arangod/Cluster/HeartbeatThread.cpp @@ -188,7 +188,7 @@ void HeartbeatThread::runDBServer() { CONDITION_LOCKER(locker, _condition); wasNotified = _wasNotified; if (!wasNotified) { - locker.wait(remain * 1000000); + locker.wait(static_cast(remain) * 1000000); wasNotified = _wasNotified; _wasNotified = false; }