static bool is_set(long var, long position)
{
- long mask = 1l << position;
+ long mask = 1L << position;
bool result = (var & mask) == mask;
return (result);
}
while ((loc = GETNUM(NULL)) != 0) {
if (is_set(COND[loc], K))
BUG(LOCATION_HAS_CONDITION_BIT_BEING_SET_TWICE);
- COND[loc] = COND[loc] + (1l << K);
+ COND[loc] = COND[loc] + (1L << K);
}
}
}