Mercurial > hg > orthanc
diff Core/Images/ImageProcessing.cpp @ 3259:6f9398eb902d
unit test Toolbox.SubstituteVariables
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 18 Feb 2019 20:42:21 +0100 |
parents | 6f652c7bfc85 |
children | 59a184cbb596 |
line wrap: on
line diff
--- a/Core/Images/ImageProcessing.cpp Mon Feb 18 18:43:40 2019 +0100 +++ b/Core/Images/ImageProcessing.cpp Mon Feb 18 20:42:21 2019 +0100 @@ -1422,7 +1422,7 @@ nodes = 0; j = static_cast<int>(cpSize) - 1; - for (i = 0; i < cpSize; i++) + for (i = 0; i < static_cast<int>(cpSize); i++) { if ((cpy[i] < y && cpy[j] >= y) || (cpy[j] < y && cpy[i] >= y)) {