Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/6c-checkmask/readme
produce a warning if a mask produced by complementing a 32-bit value is subsequently zero-extended to 64-bits, which is unlikely to do what was intended.