diff options
| author | Per Larsson <[email protected]> | 2021-09-07 20:10:46 +0200 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-09-07 20:10:46 +0200 |
| commit | e0f6f284fc3bb0996628db058130760ae1d650c6 (patch) | |
| tree | 83a600db4afe33000ea1b52c01569bfde6c4f4ce /zenserver/upstream/upstreamcache.cpp | |
| parent | Updated upstream stats calculation. (diff) | |
| download | zen-e0f6f284fc3bb0996628db058130760ae1d650c6.tar.xz zen-e0f6f284fc3bb0996628db058130760ae1d650c6.zip | |
Minor fixup and formatting.
Diffstat (limited to 'zenserver/upstream/upstreamcache.cpp')
| -rw-r--r-- | zenserver/upstream/upstreamcache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/upstream/upstreamcache.cpp b/zenserver/upstream/upstreamcache.cpp index c1002a6da..9e566749a 100644 --- a/zenserver/upstream/upstreamcache.cpp +++ b/zenserver/upstream/upstreamcache.cpp @@ -186,7 +186,7 @@ namespace detail { } else { - int64_t TotalBytes = 0; + int64_t TotalBytes = 0ull; double TotalElapsedSeconds = 0.0; for (size_t Idx = 0, Count = Payloads.size(); Idx < Count; Idx++) @@ -302,7 +302,7 @@ namespace detail { { zen::ZenStructuredCacheSession Session(*m_Client); ZenCacheResult Result; - int64_t TotalBytes = 0; + int64_t TotalBytes = 0ull; double TotalElapsedSeconds = 0.0; for (size_t Idx = 0, Count = Payloads.size(); Idx < Count; Idx++) |