coverity warning
authorrpreghen <rpreghen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Mar 2011 07:51:47 +0000 (07:51 +0000)
committerrpreghen <rpreghen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Mar 2011 07:51:47 +0000 (07:51 +0000)
TOF/AliTOFAnalysisTaskCalibPass0.cxx

index d49b800762c5b56d48190dfb395403a53e55b50e..fb754b6f98ff8da920836f044ae379c4dc1efd23 100644 (file)
@@ -611,7 +611,7 @@ AliTOFAnalysisTaskCalibPass0::CalibrateAndStore(TH2F *histoVertexTimestamp, TH2F
   Float_t tofReso[fgkMaxNumberOfPoints];
   Float_t t0Spread[fgkMaxNumberOfPoints];
   for (Int_t ipoint = 0; ipoint < nPoints; ipoint++) {
-    timestamp[ipoint] = time[ipoint] + startTimestamp;
+    timestamp[ipoint] = time[ipoint] + (Float_t)startTimestamp;
     t0[ipoint] = timeZeroMean[ipoint];
     tofReso[ipoint] = timeZeroSigma[ipoint];
     t0Spread[ipoint] = vertexSigma[ipoint] / 2.99792457999999984e-02;