From e1e858002a1f83257ea28a37e611de3e1373f779 Mon Sep 17 00:00:00 2001 From: Brent Huisman Date: Mon, 31 Oct 2016 10:58:22 +0100 Subject: [PATCH] Bugfix: Handle treatment plans that contain number of protons --- tools/clitkDicomRTPlan2Gate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/clitkDicomRTPlan2Gate.cxx b/tools/clitkDicomRTPlan2Gate.cxx index 2026861..f8eb86e 100644 --- a/tools/clitkDicomRTPlan2Gate.cxx +++ b/tools/clitkDicomRTPlan2Gate.cxx @@ -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 sqi = IonBeamSQ.GetValueAsSQ(); -- 2.45.1