Index: trunk/MagicSoft/Mars/mgeom/MGeomCamSquare.cc
===================================================================
--- trunk/MagicSoft/Mars/mgeom/MGeomCamSquare.cc	(revision 9381)
+++ trunk/MagicSoft/Mars/mgeom/MGeomCamSquare.cc	(revision 9382)
@@ -56,5 +56,5 @@
 //  CreateCam
 //
-MGeomCamSquare::MGeomCamSquare(UInt_t x, UInt_t y, Double_t diameter, Double_t dist, const char *name)
+MGeomCamSquare::MGeomCamSquare(Short_t x, Short_t y, Double_t diameter, Double_t dist, const char *name)
     : MGeomCam(x*y, dist, name, "Geometry information of a square camera")
 {
@@ -85,10 +85,10 @@
 //  This fills the geometry information from a table into the pixel objects.
 //
-void MGeomCamSquare::CreateCam(UInt_t nx, UInt_t ny, Double_t diameter)
+void MGeomCamSquare::CreateCam(Short_t nx, Short_t ny, Double_t diameter)
 {
-    for (UInt_t x=0; x<nx; x++)
-        for (UInt_t y=0; y<ny; y++)
+    for (Short_t x=0; x<nx; x++)
+        for (Short_t y=0; y<ny; y++)
         {
-            const UInt_t idx = x*ny+y;
+            const Short_t idx = x*ny+y;
 
             SetAt(idx, MGeomRectangle((0.5*nx-x)*diameter, (0.5*ny-y)*diameter, diameter));
