if (mod->GeomParamsGlobal()) {
// the constraint is defined in the module's local frame. If the alignment of geom params is
// done in the global frame, we need to set the real parameter involved
- patt &= 0xffff<< AliITSAlignMille2Module::kMaxParGeom; // reset the geometry parameters
+ patt &= (Short_t) 0xffff & (0xffff<< AliITSAlignMille2Module::kMaxParGeom); // reset the geometry parameters
for (int i=0;i<AliITSAlignMille2Module::kMaxParGeom;i++) {
if (!IncludesParam(i)) continue;
for (int j=0;j<AliITSAlignMille2Module::kMaxParGeom;j++) if (jacobian[i][j]!=0) patt |= (0x1<<j);