diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-11 19:09:28 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-11 19:24:55 +0200 |
| commit | 9157adfe80dff953687ec364cc612cf45f2b9609 (patch) | |
| tree | cd677186d1c41a55deb4a6942827f6f89ffb5357 /src/timer-ns.cpp | |
| parent | 2fb9086c6b5da63e382bc9fb5ab7523bf25b69b4 (diff) | |
fix msvc warnings
Diffstat (limited to 'src/timer-ns.cpp')
| -rw-r--r-- | src/timer-ns.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer-ns.cpp b/src/timer-ns.cpp index aed95c41..e781e66c 100644 --- a/src/timer-ns.cpp +++ b/src/timer-ns.cpp @@ -10,7 +10,7 @@ namespace floormat { Debug& operator<<(Debug& dbg, const Ns& val) { const char* unit = ""; - double x = val.stamp; + auto x = (double)val.stamp; int precision; if (val >= 10*Second) { |
