diff options
| author | Dan Engelbrecht <[email protected]> | 2023-08-11 16:39:45 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-11 16:39:45 +0200 |
| commit | bf4738df5cad0eaa61f4e24b8db7611e378f9f80 (patch) | |
| tree | 6f0ada74fc5c49b71b64f7731c0681ef544bea65 /src/zenserver/cache/httpstructuredcache.cpp | |
| parent | 0.2.16-pre0 (diff) | |
| download | zen-bf4738df5cad0eaa61f4e24b8db7611e378f9f80.tar.xz zen-bf4738df5cad0eaa61f4e24b8db7611e378f9f80.zip | |
update vcpkg dependencies (#356)
* bump vcpkg version
* fmt lib 10 fixes
* xmake dependencies (with linux workarounds)
* changelog
Diffstat (limited to 'src/zenserver/cache/httpstructuredcache.cpp')
| -rw-r--r-- | src/zenserver/cache/httpstructuredcache.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zenserver/cache/httpstructuredcache.cpp b/src/zenserver/cache/httpstructuredcache.cpp index 03bbde10e..7c4097d4f 100644 --- a/src/zenserver/cache/httpstructuredcache.cpp +++ b/src/zenserver/cache/httpstructuredcache.cpp @@ -541,7 +541,8 @@ HttpStructuredCacheService::HandleDetailsRequest(HttpServerRequest& Request) Cbo.AddHash("rawhash", ValueIt.second.RawHash); } Cbo.AddString("contenttype", ToString(ValueIt.second.ContentType)); - Cbo.AddInteger("age", NowSeconds.count() - LastAccessedSeconds.count()); + Cbo.AddInteger("age", + gsl::narrow<uint64_t>(NowSeconds.count() - LastAccessedSeconds.count())); if (ValueIt.second.Attachments.size() > 0) { if (AttachmentDetails) |