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

index eca8a88..e82199c 100644 (file)
@@ -115,7 +115,7 @@ void AliEveTPCSectorVizEditor::SetModel(TObject* obj)
 {
   // Set model object.
 
-  fM = dynamic_cast<AliEveTPCSectorViz*>(obj);
+  fM = static_cast<AliEveTPCSectorViz*>(obj);
 
   fSectorID->SetValue(fM->fSectorID);
   fAutoTrans->SetState(fM->fAutoTrans  ? kButtonDown : kButtonUp);