1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Fix last sha512.c change to avoid compiler warning.

This commit is contained in:
Roland McGrath
2012-08-15 13:59:59 -07:00
parent 1afbc875e3
commit dd924cd7cc
2 changed files with 6 additions and 1 deletions

View File

@ -125,7 +125,7 @@ sha512_process_block (const void *buffer, size_t len, struct sha512_ctx *ctx)
#else
uint64_t lolen = len;
ctx->total[TOTAL128_low] += lolen;
ctx->total[TOTAL128_high] += ((len >> 63 >> 1)
ctx->total[TOTAL128_high] += ((len >> 31 >> 31 >> 2)
+ (ctx->total[TOTAL128_low] < lolen));
#endif