summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2014-12-12 15:10:29 +0100
committerLukas Pioch <lukas@zgow.de>2014-12-12 15:10:29 +0100
commitece8b8ac96da1ec130f20888d57506187838f8fb (patch)
tree81bee0ef34d7d5d97a332e8ba4917846d9bd7946 /src/Root.cpp
parentDebuggers: Added loadchunk and preparechunk commands. (diff)
downloadcuberite-ece8b8ac96da1ec130f20888d57506187838f8fb.tar
cuberite-ece8b8ac96da1ec130f20888d57506187838f8fb.tar.gz
cuberite-ece8b8ac96da1ec130f20888d57506187838f8fb.tar.bz2
cuberite-ece8b8ac96da1ec130f20888d57506187838f8fb.tar.lz
cuberite-ece8b8ac96da1ec130f20888d57506187838f8fb.tar.xz
cuberite-ece8b8ac96da1ec130f20888d57506187838f8fb.tar.zst
cuberite-ece8b8ac96da1ec130f20888d57506187838f8fb.zip
Diffstat (limited to 'src/Root.cpp')
-rw-r--r--src/Root.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index 29daaedcc..9f8ffeeff 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -196,7 +196,7 @@ void cRoot::Start(void)
}
#endif
- LOG("Startup complete, took %ld ms!", std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::steady_clock::now() - BeginTime).count());
+ LOG("Startup complete, took %ld ms!", static_cast<long int>(std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::steady_clock::now() - BeginTime).count()));
#ifdef _WIN32
EnableMenuItem(hmenu, SC_CLOSE, MF_ENABLED); // Re-enable close button
#endif