# HG changeset patch # User Sebastien Jodogne # Date 1715144989 -7200 # Node ID e4e7ca3d206e64585b5e33673268970414a45c62 # Parent aafe402ec95068a29942392ef3de0e119aa6dbe1 fix diff -r aafe402ec950 -r e4e7ca3d206e OrthancServer/Sources/Database/FindResponse.cpp --- a/OrthancServer/Sources/Database/FindResponse.cpp Tue May 07 21:24:46 2024 +0200 +++ b/OrthancServer/Sources/Database/FindResponse.cpp Wed May 08 07:09:49 2024 +0200 @@ -443,7 +443,7 @@ { Json::Value u = Json::arrayValue; u.append(info.GetUuid()); - u.append(info.GetUncompressedSize()); + u.append(static_cast(info.GetUncompressedSize())); target[EnumerationToString(info.GetContentType())] = u; } diff -r aafe402ec950 -r e4e7ca3d206e OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp --- a/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp Tue May 07 21:24:46 2024 +0200 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp Wed May 08 07:09:49 2024 +0200 @@ -386,7 +386,7 @@ FileInfo info; if (resource.LookupAttachment(info, FileContentType_Dicom)) { - target["FileSize"] = info.GetUncompressedSize(); + target["FileSize"] = static_cast(info.GetUncompressedSize()); target["FileUuid"] = info.GetUuid(); } else