Mercurial > hg > orthanc-stone
changeset 1605:b3c439d96d3e
warning fix
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 28 Oct 2020 20:06:55 +0100 |
parents | 89e43bb4906f |
children | 874e178f34e9 |
files | OrthancStone/Sources/Toolbox/SortedFrames.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancStone/Sources/Toolbox/SortedFrames.cpp Wed Oct 28 20:06:00 2020 +0100 +++ b/OrthancStone/Sources/Toolbox/SortedFrames.cpp Wed Oct 28 20:06:55 2020 +0100 @@ -365,7 +365,7 @@ sopInstanceUid, Orthanc::DICOM_TAG_SOP_INSTANCE_UID, false)) { double p = LinearAlgebra::DotProduct(meanNormal, instance.GetPosition()); - items.push_back(SortableItem<float>(p, *it, sopInstanceUid)); + items.push_back(SortableItem<float>(static_cast<float>(p), *it, sopInstanceUid)); } }