summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-12-12 21:00:06 +0100
committerMattes D <github@xoft.cz>2014-12-12 21:00:06 +0100
commitb8072cbd6228119608a2a3b9e86e68162e27d916 (patch)
tree738d7ea09908ebd3c53034fa096c73f1a35b6480 /src
parentUpdated the Core. (diff)
parentFixed print of milliseconds from chrono (diff)
downloadcuberite-b8072cbd6228119608a2a3b9e86e68162e27d916.tar
cuberite-b8072cbd6228119608a2a3b9e86e68162e27d916.tar.gz
cuberite-b8072cbd6228119608a2a3b9e86e68162e27d916.tar.bz2
cuberite-b8072cbd6228119608a2a3b9e86e68162e27d916.tar.lz
cuberite-b8072cbd6228119608a2a3b9e86e68162e27d916.tar.xz
cuberite-b8072cbd6228119608a2a3b9e86e68162e27d916.tar.zst
cuberite-b8072cbd6228119608a2a3b9e86e68162e27d916.zip
Diffstat (limited to 'src')
-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