avoid warning on explicit 'bool <- restricted' casts