Index: trunk/MagicSoft/Mars/mgeom/MGeomCam.cc
===================================================================
--- trunk/MagicSoft/Mars/mgeom/MGeomCam.cc	(revision 1715)
+++ trunk/MagicSoft/Mars/mgeom/MGeomCam.cc	(revision 1747)
@@ -115,5 +115,5 @@
 //  the id 0 to scale variables with the pixel size.
 //
-Float_t MGeomCam::GetPixRatio(Int_t i) const
+Float_t MGeomCam::GetPixRatio(UInt_t i) const
 {
     return i<fNumPixels ? (*this)[0].GetA()/(*this)[i].GetA() : 0;
Index: trunk/MagicSoft/Mars/mgeom/MGeomCam.h
===================================================================
--- trunk/MagicSoft/Mars/mgeom/MGeomCam.h	(revision 1715)
+++ trunk/MagicSoft/Mars/mgeom/MGeomCam.h	(revision 1747)
@@ -36,5 +36,5 @@
     UInt_t  GetNumPixels() const       { return fNumPixels; }
     Float_t GetMaxRadius() const       { return fMaxRadius; }
-    Float_t GetPixRatio(Int_t i) const;
+    Float_t GetPixRatio(UInt_t i) const;
 
     MGeomPix &operator[](Int_t i)       { return *(MGeomPix*)fPixels->UncheckedAt(i); }
