Index: trunk/MagicSoft/Mars/mranforest/MRanForest.cc
===================================================================
--- trunk/MagicSoft/Mars/mranforest/MRanForest.cc	(revision 8910)
+++ trunk/MagicSoft/Mars/mranforest/MRanForest.cc	(revision 8988)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MRanForest.cc,v 1.28 2008-06-02 08:46:43 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MRanForest.cc,v 1.29 2008-06-30 09:36:39 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -241,5 +241,5 @@
             // If no match found, function gives nearest element smaller
             // than value.
-            int k=TMath::BinarySearch(ngrid, fGrid.GetArray(), fHadTrue[j]);
+            int k=TMath::BinarySearch(ngrid, fGrid.GetArray(), (Double_t)fHadTrue[j]);
 
             fClass[j]   = k;
