Index: /trunk/MagicSoft/Mars/mgeom/MGeomCamSquare.cc
===================================================================
--- /trunk/MagicSoft/Mars/mgeom/MGeomCamSquare.cc	(revision 9380)
+++ /trunk/MagicSoft/Mars/mgeom/MGeomCamSquare.cc	(revision 9381)
@@ -94,8 +94,8 @@
             SetAt(idx, MGeomRectangle((0.5*nx-x)*diameter, (0.5*ny-y)*diameter, diameter));
 
-            const Short_t n0 = x==nx-1 ? -1. : idx+ny;
-            const Short_t n1 = x==0    ? -1. : idx-ny;
-            const Short_t n2 = y==ny-1 ? -1. : idx+1;
-            const Short_t n3 = y==0    ? -1. : idx-1;
+            const Short_t n0 = x==nx-1 ? -1 : idx+ny;
+            const Short_t n1 = x==0    ? -1 : idx-ny;
+            const Short_t n2 = y==ny-1 ? -1 : idx+1;
+            const Short_t n3 = y==0    ? -1 : idx-1;
 
             Short_t n[4] = { n0, n1, n2, n3 };
