Coverity
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 Feb 2011 14:30:33 +0000 (14:30 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 Feb 2011 14:30:33 +0000 (14:30 +0000)
EVE/EveDet/AliEveTOFSectorEditor.cxx

index f4951dc..44490f4 100644 (file)
@@ -142,7 +142,7 @@ void AliEveTOFSectorEditor::SetModel(TObject* obj)
 {
   // Set object to monitor at visualization level
 
-  fM = dynamic_cast<AliEveTOFSector*>(obj);
+  fM = static_cast<AliEveTOFSector*>(obj);
 
   fSectorID->SetValue(fM->GetSectorID());
   fAutoTrans->SetState(fM->GetAutoTrans()  ? kButtonDown : kButtonUp);