1
0

Merge pull request #1660 from Seadragon91/master

Fixed print of milliseconds from chrono
This commit is contained in:
Mattes D 2014-12-12 21:00:06 +01:00
commit b8072cbd62

View File

@ -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