Commit 613e91c1 authored by Otmane Lahlou's avatar Otmane Lahlou

ENH : correct warnings

parent 32935afd
......@@ -151,8 +151,8 @@ GCPsToRPCSensorModelImageFilter< TImage >
{
// Store row/col in an index
typename TImage::IndexType index;
index[0] = imagePtr->GetGCPCol(i);
index[1] = imagePtr->GetGCPRow(i);
index[0] = static_cast<long int>(imagePtr->GetGCPCol(i));
index[1] = static_cast<long int>(imagePtr->GetGCPRow(i));
// Transform to physical point
Point2DType physPoint;
......
......@@ -105,7 +105,7 @@ TerraSarCalibrationImageFilter<TInputImage,TOutputImage>
// Get vector
DoubleVectorType noiseRefList = lImageMetadata->GetNoiseReferencePointList(this->GetInput()->GetMetaDataDictionary());
// Mean computation
for (int i=0; i<noiseRefList.size(); i++)
for (unsigned int i=0; i<noiseRefList.size(); i++)
{
sum += noiseRefList[i];
}
......
......@@ -184,5 +184,7 @@ int main(int argc, char * argv[])
std::cout << "Unknown exception !" << std::endl;
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}
......@@ -1199,9 +1199,9 @@ bool ossimplugins::ossimTerraSarProductDoc::initIncidenceAngles(
{
result = false;
}
return result;
}
return result;
}
bool ossimplugins::ossimTerraSarProductDoc::initNoise(
const ossimXmlDocument* xdoc, ossimplugins::Noise* noise) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment