Index: trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc
===================================================================
--- trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc	(revision 3682)
+++ trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc	(revision 3710)
@@ -202,5 +202,5 @@
 
     if (tname && tname[0])
-        AddToBranchList(Form("%s.%s", AddSerialNumber(cname), tname));
+        AddToBranchList(Form("%s.%s", (const char*)AddSerialNumber(cname), tname));
 }
 
