Index: /trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc	(revision 8349)
+++ /trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc	(revision 8350)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.31 2007-03-01 23:37:08 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.32 2007-03-01 23:43:33 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -390,5 +390,5 @@
 
         // Get position of maximum
-        const Int_t   pos = evt->GetMax(idx);
+        const Int_t   pos = evt->GetMax(idx/*, first, last*/);
         const Float_t max = evt->GetSamples(idx)[pos];
 
Index: /trunk/MagicSoft/Mars/mpedestal/MPedestalSubtractedEvt.h
===================================================================
--- /trunk/MagicSoft/Mars/mpedestal/MPedestalSubtractedEvt.h	(revision 8349)
+++ /trunk/MagicSoft/Mars/mpedestal/MPedestalSubtractedEvt.h	(revision 8350)
@@ -59,5 +59,6 @@
     Int_t GetSaturation(const Int_t pixidx, Int_t limit) const
     {
-        Int_t first, last;
+        Int_t first=0;
+        Int_t last=fNumSamples;
         return GetSaturation(pixidx, limit, first, last);
     }
