X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/8276a9c565bc29afbc6cc120dfde0801c06c2bbd..35b1eba81a20fa0b93db161001ad8a46cd0cdc7b:/symm/hash.h?ds=sidebyside diff --git a/symm/hash.h b/symm/hash.h index dc9ad024..eb3cd75e 100644 --- a/symm/hash.h +++ b/symm/hash.h @@ -68,10 +68,10 @@ \ { \ uint32 _l = U32(_bsz); \ - uint32 _h = ((_bsz & ~MASK32) >> 16) >> 16; \ + uint32 _h = ((_bsz & ~(size_t)MASK32) >> 16) >> 16; \ _bctx->nh += _h; \ _bctx->nl += _l; \ - if (_bctx->nl < _l || _bctx->nl & ~MASK32) \ + if (_bctx->nl < _l || _bctx->nl & ~(uint32)MASK32) \ _bctx->nh++; \ } \ \