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

index ad0de30..fdbe307 100644 (file)
@@ -75,7 +75,7 @@ void AliEveTPCSector2DEditor::SetModel(TObject* obj)
 {
   // Set model object.
 
-  fM = dynamic_cast<AliEveTPCSector2D*>(obj);
+  fM = static_cast<AliEveTPCSector2D*>(obj);
 
   fShowMax->SetState(fM->fShowMax ? kButtonDown : kButtonUp);
   SetupAverage();