X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/e5b61a8dec3586f96d25bd3ef454176526ff0f69..HEAD:/symm/tiger.c diff --git a/symm/tiger.c b/symm/tiger.c index 95faf56f..48896602 100644 --- a/symm/tiger.c +++ b/symm/tiger.c @@ -99,7 +99,7 @@ void tiger_set(tiger_ctx *ctx, const void *buf, unsigned long count) LOAD64_L_(ctx->c, p + 16); ctx->off = 0; ctx->nl = U32(count); - ctx->nh = U32(((count & ~MASK32) >> 16) >> 16); + ctx->nh = U32(((count & ~(unsigned long)MASK32) >> 16) >> 16); } /* --- @tiger_hash@ --- *