Fixing 2 warnings
authorcoppedis <chiara.oppedisano@cern.ch>
Wed, 26 Mar 2014 16:27:33 +0000 (17:27 +0100)
committercoppedis <chiara.oppedisano@cern.ch>
Wed, 26 Mar 2014 17:02:01 +0000 (18:02 +0100)
ZDC/AliZDCDigitizer.cxx

index 56ccb78..2a1db24 100644 (file)
@@ -468,8 +468,8 @@ void AliZDCDigitizer::ReadPMTGains()
        read = fscanf(fdata,"%f ",&data[ic]);
        if(read==0) AliDebug(3, " Error in reading PMT gains from external file ");
     }
-    beam[ir] = data[0];
-    det[ir] = data[1];
+    beam[ir] = (int) (data[0]);
+    det[ir]  = (int) (data[1]);
     gain[ir] = data[2];
     aEne[ir] = data[3];
     bEne[ir] = data[4];