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

index fdeaa76..33a3c10 100644 (file)
@@ -81,7 +81,7 @@ void AliEveTPCSector3DEditor::SetModel(TObject* obj)
 {
   // Set model object.
 
-  fM = dynamic_cast<AliEveTPCSector3D*>(obj);
+  fM = static_cast<AliEveTPCSector3D*>(obj);
 
   fRnrFrame->SetState(fM->fRnrFrame ? kButtonDown : kButtonUp);
   fDriftVel->SetValue(fM->fDriftVel);