state explicitely casted to quint16
This commit is contained in:
parent
67fdcff6b9
commit
7fe1d7e901
|
@ -54,8 +54,7 @@ namespace
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto stateBit = static_cast< QskAspect::State >(
|
const auto stateBit = lowestState( mask );
|
||||||
1 << qCountTrailingZeroBits( mask ) );
|
|
||||||
|
|
||||||
mask &= ~stateBit;
|
mask &= ~stateBit;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue