Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/FindResponse.cpp @ 5602:e4e7ca3d206e find-refactoring
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 08 May 2024 07:09:49 +0200 |
parents | 8796c100aaf8 |
children | 4690a0d2b01e |
comparison
equal
deleted
inserted
replaced
5601:aafe402ec950 | 5602:e4e7ca3d206e |
---|---|
441 static void DebugAddAttachment(Json::Value& target, | 441 static void DebugAddAttachment(Json::Value& target, |
442 const FileInfo& info) | 442 const FileInfo& info) |
443 { | 443 { |
444 Json::Value u = Json::arrayValue; | 444 Json::Value u = Json::arrayValue; |
445 u.append(info.GetUuid()); | 445 u.append(info.GetUuid()); |
446 u.append(info.GetUncompressedSize()); | 446 u.append(static_cast<Json::UInt64>(info.GetUncompressedSize())); |
447 target[EnumerationToString(info.GetContentType())] = u; | 447 target[EnumerationToString(info.GetContentType())] = u; |
448 } | 448 } |
449 | 449 |
450 void FindResponse::Resource::DebugExport(Json::Value& target, | 450 void FindResponse::Resource::DebugExport(Json::Value& target, |
451 const FindRequest& request) const | 451 const FindRequest& request) const |