Index: trunk/MagicSoft/Mars/mhcalib/MHCalibrationHiLoCam.cc
===================================================================
--- trunk/MagicSoft/Mars/mhcalib/MHCalibrationHiLoCam.cc	(revision 7013)
+++ trunk/MagicSoft/Mars/mhcalib/MHCalibrationHiLoCam.cc	(revision 7014)
@@ -429,8 +429,8 @@
   {
       for (Int_t j=0; j<nareas; j++)
-          GetAverageHiGainArea(j).CheckOverflow(hist);
+          CheckOverflow(GetAverageHiGainArea(j));
 
       for (Int_t j=0; j<fAverageHiGainSectors->GetSize(); j++)
-          GetAverageHiGainSector(j).CheckOverflow(hist);
+          CheckOverflow(GetAverageHiGainSector(j));
   }
 
@@ -457,8 +457,8 @@
   {
       for (Int_t j=0; j<nareas; j++)
-          GetAverageLoGainArea(j).CheckOverflow(hist);
+          CheckOverflow(GetAverageLoGainArea(j));
 
       for (Int_t j=0; j<nsectors; j++)
-          GetAverageLoGainSector(j).CheckOverflow(hist);
+          CheckOverflow(GetAverageLoGainSector(j));
   }
 
