Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 1571)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 1572)
@@ -1,3 +1,17 @@
                                                                   -*-*- END -*-*-
+ 2002/10/31: Thomas Bretz
+
+   * mfileio/MReadTree.cc:
+     - enhanced the validity of the fNuMEntries workaround from
+       3.02.06 to 3.07.01
+
+   * manalysis/MBlindPixelCalc.h, mhist/MBinning.h:
+     - added an explicit cast to get rid of a compiler warning on Alpha
+
+   * mhist/MH.cc:
+     - removed an unused variable to get rid of a compiler warning on Alpha
+
+
+
  2002/10/30: Thomas Bretz
 
@@ -13,4 +27,5 @@
      - implementation which makes sure, that the number of events returned 
        by GetEntries always is the correct value.
+     - removed const from the GetEntries definition
      - mainly use GetEntries now instead of fNumEntries
 
@@ -944,4 +959,7 @@
  2002/07/16: Thomas Bretz
 
+   * macros/plot.C, macros/plot2.C, macros/star.C, macros/comprob.C:
+     - updated the comments in the macros
+     
    * mgui/MHexagon.cc:
      - added a sanity check in DistanceToPrimitive
Index: /trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.h
===================================================================
--- /trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.h	(revision 1571)
+++ /trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.h	(revision 1572)
@@ -51,5 +51,5 @@
 
     void SetPixels(Int_t num, Short_t *ids);
-    void SetPixels(const TArrayS pix) { SetPixels(pix.GetSize(), pix.GetArray()); }
+    void SetPixels(const TArrayS pix) { SetPixels((Int_t)pix.GetSize(), (Short_t*)pix.GetArray()); }
     virtual Bool_t ReInit(MParList *pList);
 
Index: /trunk/MagicSoft/Mars/mfileio/MReadTree.cc
===================================================================
--- /trunk/MagicSoft/Mars/mfileio/MReadTree.cc	(revision 1571)
+++ /trunk/MagicSoft/Mars/mfileio/MReadTree.cc	(revision 1572)
@@ -59,7 +59,4 @@
 #include <TOrdCollection.h>
 
-#include "MLog.h"
-#include "MLogManip.h"
-
 #include "MChain.h"
 #include "MFilter.h"
@@ -67,4 +64,8 @@
 #include "MTaskList.h"
 
+#include "MLog.h"
+#include "MLogManip.h"
+
+
 ClassImp(MReadTree);
 
@@ -74,5 +75,5 @@
 //
 MReadTree::MReadTree()
-    : fNumEntry(0), fBranchChoosing(kFALSE), fAutoEnable(kTRUE), fProgress(NULL)
+    : fNumEntry(0), fNumEntries(0), fBranchChoosing(kFALSE), fAutoEnable(kTRUE), fProgress(NULL)
 {
     fName  = "MReadTree";
@@ -534,6 +535,6 @@
 
         //
-        // Check whether a Pointer to a pointer already exists, if
-        // we created one already delete it.
+        // Check whether a Pointer to a pointer already exists.
+        // If we created one already, delete it.
         //
         TChainElement *element = (TChainElement*)fChain->GetStatus()->FindObject(bname);
Index: /trunk/MagicSoft/Mars/mfileio/MReadTree.h
===================================================================
--- /trunk/MagicSoft/Mars/mfileio/MReadTree.h	(revision 1571)
+++ /trunk/MagicSoft/Mars/mfileio/MReadTree.h	(revision 1572)
@@ -59,5 +59,5 @@
     Bool_t SetEventNum(UInt_t nr);    // set number of event (position in tree)
 
-    UInt_t GetEventNum() const { return fNumEntry;   }
+    UInt_t GetEventNum() const { return fNumEntry; }
     UInt_t GetEntries();
 
Index: /trunk/MagicSoft/Mars/mhist/MBinning.h
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MBinning.h	(revision 1571)
+++ /trunk/MagicSoft/Mars/mhist/MBinning.h	(revision 1572)
@@ -47,5 +47,5 @@
     Int_t GetNumBins() const { return fEdges.GetSize()-1; }
 
-    Double_t *GetEdges() const { return fEdges.GetArray(); }
+    Double_t *GetEdges() const { return (Double_t*)fEdges.GetArray(); }
 
     Bool_t IsLinear() const { return fType==kIsLinear; }
Index: /trunk/MagicSoft/Mars/mhist/MH.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MH.cc	(revision 1571)
+++ /trunk/MagicSoft/Mars/mhist/MH.cc	(revision 1572)
@@ -468,9 +468,8 @@
         umax = 0;
 
-    Int_t n=0;
     Double_t binlow  =0;
     Double_t binhigh =0;
     Double_t binwidth=0;
-    TGaxis::Optimize(umin, umax, nbins, binlow, binhigh, n, binwidth, "");
+    //TGaxis::Optimize(umin, umax, nbins, binlow, binhigh, n, binwidth, "");
 
     if (binwidth <= 0 || binwidth > 1.e+39)
