aboutsummaryrefslogtreecommitdiff
path: root/zenserver/upstream/upstreamcache.cpp
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-09-07 20:10:46 +0200
committerPer Larsson <[email protected]>2021-09-07 20:10:46 +0200
commite0f6f284fc3bb0996628db058130760ae1d650c6 (patch)
tree83a600db4afe33000ea1b52c01569bfde6c4f4ce /zenserver/upstream/upstreamcache.cpp
parentUpdated upstream stats calculation. (diff)
downloadzen-e0f6f284fc3bb0996628db058130760ae1d650c6.tar.xz
zen-e0f6f284fc3bb0996628db058130760ae1d650c6.zip
Minor fixup and formatting.
Diffstat (limited to 'zenserver/upstream/upstreamcache.cpp')
-rw-r--r--zenserver/upstream/upstreamcache.cpp4
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++)