Hi All,
Briefly: I was compiling a recent version of MITK (c855dedda4) on gcc 4.1.2,
and it failed due to a warning of casting to unsigned long. The following
change enabled me to compile.
Thanks
Matt
diff --git a/Core/Code/IO/mitkDicomSeriesReader.txx
b/Core/Code/IO/mitkDicomSeriesReader.txx
index 80c95e5..551bfca 100644
--- a/Core/Code/IO/mitkDicomSeriesReader.txx
+++ b/Core/Code/IO/mitkDicomSeriesReader.txx
@@ -468,7 +468,7 @@ DicomSeriesReader::InPlaceFixUpTiltedGeometry( ImageType*
input, const GantryTil
resampler->SetOutputParametersFromImage( input ); // we basically need the
same image again, just sheared
typename ImageType::SizeType largerSize = resampler->GetSize(); // now the
resampler already holds the input image's size.
- largerSize[1] += tiltInfo.GetTiltCorrectedAdditionalSize();
+ largerSize[1] += static_cast<typename
ImageType::SizeType::SizeValueType>(tiltInfo.GetTiltCorrectedAdditionalSize());
resampler->SetSize( largerSize );
resampler->Update();
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users