Fix for warning
authorshahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 14 Dec 2011 11:28:59 +0000 (11:28 +0000)
committershahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 14 Dec 2011 11:28:59 +0000 (11:28 +0000)
STEER/STEERBase/AliClonesPool.h

index fdffa0d..e161a93 100644 (file)
@@ -24,7 +24,7 @@ class AliClonesPool: public TClonesArray
   void PrintSummary(const Option_t* opt="") const;
   //
  protected:
-  Int_t GetCloneID(TObject* obj) const {return fCastToTrack ? ((AliVParticle*)obj)->GetPoolID() : (obj->GetUniqueID()-1);}
+  Int_t GetCloneID(TObject* obj) const {return fCastToTrack ? ((AliVParticle*)obj)->GetPoolID() : (int(obj->GetUniqueID())-1);}
 
  protected:
   TArrayI fFreeID;              // array of ID's of free slots