Skip to content
Snippets Groups Projects
Commit cf369d63 authored by Julien Malik's avatar Julien Malik
Browse files

WRG: signed/unsigned comparison

parent a8d5b403
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ public: ...@@ -124,7 +124,7 @@ public:
// the burn values vector // the burn values vector
// Add all the bands to be burned and clear previous bands. // Add all the bands to be burned and clear previous bands.
m_BandsToBurn.clear(); m_BandsToBurn.clear();
for (int idx = 0; idx < burnValuesPix.Size(); ++idx) for (unsigned int idx = 0; idx < burnValuesPix.Size(); ++idx)
{ {
m_BandsToBurn.push_back(idx + 1 ); // Gdal bands count begins from 1 m_BandsToBurn.push_back(idx + 1 ); // Gdal bands count begins from 1
m_BurnValues.push_back(static_cast<double>(burnValuesPix.GetElement(idx))); m_BurnValues.push_back(static_cast<double>(burnValuesPix.GetElement(idx)));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment