summaryrefslogtreecommitdiff
path: root/zen/perf.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/perf.h')
-rw-r--r--zen/perf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/zen/perf.h b/zen/perf.h
index 17aeabd0..53519274 100644
--- a/zen/perf.h
+++ b/zen/perf.h
@@ -48,9 +48,9 @@ public:
const std::int64_t delta = 1000 * dist(startTime, now) / ticksPerSec_;
#ifdef ZEN_WIN
- std::ostringstream ss;
- ss << delta << " ms";
- ::MessageBoxA(nullptr, ss.str().c_str(), "Timer", 0);
+ std::wostringstream ss;
+ ss << delta << L" ms";
+ ::MessageBox(nullptr, ss.str().c_str(), L"Timer", MB_OK);
#else
std::clog << "Perf: duration: " << delta << " ms\n";
#endif
bgstack15