]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixed warning (Christian)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 Sep 2011 12:39:38 +0000 (12:39 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 Sep 2011 12:39:38 +0000 (12:39 +0000)
FMD/AliFMDRawWriter.cxx

index d7676dad1f98522a5e1fbffc89a8d926a8efa9e7..7ebf00d0ec89376652aa7fa050e712bd2daa633c 100644 (file)
@@ -218,7 +218,7 @@ AliFMDRawWriter::WriteDigits(TClonesArray* digits)
     threshold  = pars->GetZeroSuppression(det, ring, sector, strip);
     sampleRate = pars->GetSampleRate(det, ring, sector, strip);
     preSamples = pars->GetPreSamples(det, ring, sector, strip);
-    factor     = pars->GetPedestalFactor();
+    factor     = UShort_t(pars->GetPedestalFactor());
 
     if (det != oldDet) {
       AliFMDDebug(5, ("Got new detector: %d (was %d)", det, oldDet));