Skip to content
Snippets Groups Projects
Commit 7128be50 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

WRG: fix cast warning

parent 4dc4b58a
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ ImageRegionTileMapSplitter<VImageDimension> ...@@ -43,7 +43,7 @@ ImageRegionTileMapSplitter<VImageDimension>
for (unsigned int j = VImageDimension; j > 0; --j) for (unsigned int j = VImageDimension; j > 0; --j)
{ {
// otbMsgDevMacro(<< "*** Dimension: " << j-1); // otbMsgDevMacro(<< "*** Dimension: " << j-1);
unsigned long int remainingToDo = vcl_ceil((double) requestedNumber / numPieces); unsigned long int remainingToDo = static_cast<unsigned long int>(vcl_ceil(static_cast<double>(requestedNumber) / numPieces));
unsigned int maxPieces = (regionIndex[j - 1] + regionSize[j - 1] - 1) / m_AlignStep - regionIndex[j - 1] unsigned int maxPieces = (regionIndex[j - 1] + regionSize[j - 1] - 1) / m_AlignStep - regionIndex[j - 1]
/ m_AlignStep + 1; / m_AlignStep + 1;
unsigned int stepPerPiece = 1; unsigned int stepPerPiece = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment