Coverity
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTPCSector3DEditor.cxx
index fdeaa7601485de2259e58c0eedc3b273914743ae..33a3c108f93952313627779c52c742db8806c22d 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);