Index: trunk/MagicSoft/Mars/mbase/MTaskList.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MTaskList.cc	(revision 7682)
+++ trunk/MagicSoft/Mars/mbase/MTaskList.cc	(revision 7685)
@@ -318,5 +318,5 @@
 // for one of the tasks
 //
-Bool_t MTaskList::AddToList(const TList &list)
+Bool_t MTaskList::AddToList(const TList &list, const char *tType)
 {
     TIter Next(&list);
@@ -330,5 +330,5 @@
         }
 
-        if (!AddToList(obj))
+        if (!AddToList(static_cast<MTask*>(obj), tType))
             return kFALSE;
     }
Index: trunk/MagicSoft/Mars/mbase/MTaskList.h
===================================================================
--- trunk/MagicSoft/Mars/mbase/MTaskList.h	(revision 7682)
+++ trunk/MagicSoft/Mars/mbase/MTaskList.h	(revision 7685)
@@ -47,5 +47,5 @@
     Bool_t AddToListAfter(MTask *task, const MTask *where, const char *tType="All");
     Bool_t AddToList(MTask *task, const char *tType="All");
-    Bool_t AddToList(const TList &list);
+    Bool_t AddToList(const TList &list, const char *tType="All");
 
     void SetSerialNumber(Byte_t num);
