]> Creatis software - clitk.git/commitdiff
Bugfix: Handle treatment plans that contain number of protons
authorBrent Huisman <mail@brenthuisman.net>
Mon, 31 Oct 2016 09:58:22 +0000 (10:58 +0100)
committerBrent Huisman <mail@brenthuisman.net>
Mon, 31 Oct 2016 09:58:22 +0000 (10:58 +0100)
tools/clitkDicomRTPlan2Gate.cxx

index 2026861aaed5a55027fba9255ded505c396fe0e6..f8eb86e927bcf0178e9c64000afcb240cd1a1786 100644 (file)
@@ -160,7 +160,7 @@ int main(int argc, char * argv[])
   gdcm::Attribute<0x300a,0x122> patientSupportAngle;
   gdcm::Attribute<0x300a,0x12c> isocenterPosition;
   
-  int totalCumMeterSet = 0;
+  long totalCumMeterSet = 0;
   
   const gdcm::DataElement &IonBeamSQ = ds.GetDataElement( tIonBeamSQ );
   gdcm::SmartPointer<gdcm::SequenceOfItems> sqi = IonBeamSQ.GetValueAsSQ();