Index: trunk/MagicSoft/Mars/manalysis/MPadSchweizer.h
===================================================================
--- trunk/MagicSoft/Mars/manalysis/MPadSchweizer.h	(revision 1770)
+++ trunk/MagicSoft/Mars/manalysis/MPadSchweizer.h	(revision 1771)
@@ -28,5 +28,5 @@
 {
 private:
-    const MGeomCam *fCam; 
+    MGeomCam *fCam; 
     MCerPhotEvt    *fEvt; 
     MSigmabar      *fSigmabar;
Index: trunk/MagicSoft/Mars/mhist/MHMatrix.cc
===================================================================
--- trunk/MagicSoft/Mars/mhist/MHMatrix.cc	(revision 1770)
+++ trunk/MagicSoft/Mars/mhist/MHMatrix.cc	(revision 1771)
@@ -736,9 +736,9 @@
    Int_t   fNrows  = fM.GetNrows();
    Int_t   fNcols  = fM.GetNcols();
-   Int_t   fColLwb = fM.GetColLwb();
-   Int_t   fRowLwb = fM.GetRowLwb();
 
    // print characteristics
    //
+   //Int_t   fColLwb = fM.GetColLwb();
+   //Int_t   fRowLwb = fM.GetRowLwb();
    //*fLog << "MHMatrix::CalcNormFactors; Event matrix (input): " << endl;
    //*fLog << "          fNrows, fNcols, fColLwb, fRowLwb = " << fNrows << ",  "
@@ -902,5 +902,5 @@
    for (Int_t ir=0; ir<fNrows; ir++)   
    {
-     Int_t indref= (fM(ind[ir],frefcol)-ffrombin)/fdbin;
+     Int_t indref = (Int_t) (fM(ind[ir],frefcol)-ffrombin)/fdbin;
      cumul_weight[indref] += fnormfac[indref];
      if (cumul_weight[indref]>0.5)    
