Index: /trunk/Mars/Changelog
===================================================================
--- /trunk/Mars/Changelog	(revision 10281)
+++ /trunk/Mars/Changelog	(revision 10282)
@@ -44,4 +44,7 @@
    * mbase/MThread.h:
      - added missing argument to call of fThread.Run()
+
+   * mhbase/MH3.cc:
+     - fixed a problem with a wrong cast
 
 
Index: /trunk/Mars/mhbase/MH3.cc
===================================================================
--- /trunk/Mars/mhbase/MH3.cc	(revision 10281)
+++ /trunk/Mars/mhbase/MH3.cc	(revision 10282)
@@ -990,5 +990,5 @@
             static_cast<TProfile&>(h).SetBinEntries(i, p1->GetBinEntries(i)>0 ? 1 : 0);
 
-    TProfile *p2 = dynamic_cast<TProfile*>(fHist);
+    TProfile2D *p2 = dynamic_cast<TProfile2D*>(fHist);
     if (p2)
         for (Int_t i=0; i<p2->GetSize(); i++)
