Skip to content
Snippets Groups Projects
Commit 04745810 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

WARN:cast int in unsigned int

parent a415800c
Branches
Tags
No related merge requests found
...@@ -95,8 +95,8 @@ public: ...@@ -95,8 +95,8 @@ public:
indexEnd[0] = indexBegin[0] + m_Model->GetExtractRegion().GetSize()[0]; indexEnd[0] = indexBegin[0] + m_Model->GetExtractRegion().GetSize()[0];
indexEnd[1] = indexBegin[1] + m_Model->GetExtractRegion().GetSize()[1]; indexEnd[1] = indexBegin[1] + m_Model->GetExtractRegion().GetSize()[1];
if (indexEnd[0] < m_Model->GetLayer(0)->GetExtent().GetSize()[0] && indexEnd[1] if (indexEnd[0] < static_cast<unsigned int> (m_Model->GetLayer(0)->GetExtent().GetSize()[0]) && indexEnd[1]
< m_Model->GetLayer(0)->GetExtent().GetSize()[1] && indexBegin[0] < static_cast<unsigned int> (m_Model->GetLayer(0)->GetExtent().GetSize()[1]) && indexBegin[0]
> static_cast<unsigned int> (m_Model->GetLayer(0)->GetExtent().GetIndex()[0]) && indexBegin[1] > static_cast<unsigned int> (m_Model->GetLayer(0)->GetExtent().GetIndex()[0]) && indexBegin[1]
> static_cast<unsigned int> (m_Model->GetLayer(0)->GetExtent().GetIndex()[1])) > static_cast<unsigned int> (m_Model->GetLayer(0)->GetExtent().GetIndex()[1]))
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment