Make masking constants unsigned, to avoid a gcc3-only compiler warning.