break;
case INSET:
case SPACE: {
- int const boundary = select ? (full_width() + 1) / 2 : full_width();
+ double const boundary = select ? (full_width() + 1) / 2 : full_width();
// those elements contain only one position. Round to
// the closest side.
if (x > boundary) {