diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-09-02 19:58:44 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-09-02 19:58:44 +0200 |
commit | 65667e7cc2f741afdfcfaad40f57d8cab5254633 (patch) | |
tree | 92244ff2510d213662fa5c4845392bba1deddd5a /src/coremods | |
parent | f673caf8a89c4d9b8b631e46d20c71118a29eb9c (diff) |
Fix Windows build and most MSVC warnings
Diffstat (limited to 'src/coremods')
-rw-r--r-- | src/coremods/core_stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_stats.cpp b/src/coremods/core_stats.cpp index ee0c50db2..a282089e3 100644 --- a/src/coremods/core_stats.cpp +++ b/src/coremods/core_stats.cpp @@ -307,7 +307,7 @@ void CommandStats::DoStats(Stats::Context& stats) n_eaten = (double)(( (uint64_t)(KernelTime.dwHighDateTime) << 32 ) + (uint64_t)(KernelTime.dwLowDateTime))/100000; per = (n_eaten / n_elapsed); snprintf(percent, 30, "%03.5f%%", per); - stats.AddRow(249, std::string("CPU Use (total): ")+percent)); + stats.AddRow(249, std::string("CPU Use (total): ")+percent); } #endif } |