X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/2921991916ba2362d054111a0d041ff170c899c1..e91d142c49f0ff129a087f2b66380bd7c5da0617:/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@ --- *