explicit cast to UInt_t
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 30 Mar 2012 10:43:15 +0000 (10:43 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 30 Mar 2012 10:43:15 +0000 (10:43 +0000)
STEER/AOD/AliAODTrack.h

index f4058deabe685c7ade1d78138ec956fcf897895c..804f28b4c1ad1a9c6c9cf7d4aedf61b5307c036e 100644 (file)
@@ -127,7 +127,7 @@ class AliAODTrack : public AliVTrack {
   Double_t Chi2perNDF()  const { return fChi2perNDF; }
   UShort_t GetTPCNcls()  const { 
     UShort_t cl = fTPCFitMap.CountBits();
-    if(cl==0)return fTPCClusterMap.CountBits();// backward compatibility
+    if(cl==0)cl = fTPCClusterMap.CountBits();// backward compatibility
     return cl;
   }