Index: trunk/MagicSoft/Mars/mhist/MHCamera.cc
===================================================================
--- trunk/MagicSoft/Mars/mhist/MHCamera.cc	(revision 2326)
+++ trunk/MagicSoft/Mars/mhist/MHCamera.cc	(revision 2327)
@@ -71,4 +71,5 @@
 #include "MImgCleanStd.h"
 
+
 #define kItemsLegend 48 // see SetPalette(1,0)
 
@@ -676,5 +677,5 @@
         for (Int_t idx=0; idx<fNcells-2; idx++)
             if (d.GetBinContent(idx+1)!=0)
-                Fill(idx, fabs(d.GetBinError(idx+1)/d.GetBinContent(idx+1)));
+                Fill(idx, TMath::Abs(d.GetBinError(idx+1)/d.GetBinContent(idx+1)));
         break;
     default:
@@ -896,5 +897,5 @@
     const Float_t step   = (islog && min>0 ? log10(max/min) : max-min) / kItemsLegend;
     const Int_t   firsts = step*3 < 1e-8 ? 8 : (Int_t)floor(log10(step*3));
-    const TString opt    = Form("%%.%if", firsts>0 ? 0 : abs(firsts));
+    const TString opt    = Form("%%.%if", firsts>0 ? 0 : TMath::Abs(firsts));
 
     for (Int_t i=0; i<kItemsLegend+1; i+=3)
