From 5a9d441b2cfb4f3614971f918bb69b5e7a5ea2c9 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 24 May 2001 14:16:28 +0000 Subject: Fix up some signed char vs int issues that show up on powerpc. --- coreutils/md5sum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/md5sum.c') diff --git a/coreutils/md5sum.c b/coreutils/md5sum.c index a9bbdef36..e5a2abe78 100644 --- a/coreutils/md5sum.c +++ b/coreutils/md5sum.c @@ -244,7 +244,7 @@ void *md5_finish_ctx(struct md5_ctx *ctx, void *resbuf) /* Put the 64-bit file length in *bits* at the end of the buffer. */ *(md5_uint32 *) & ctx->buffer[bytes + pad] = SWAP(ctx->total[0] << 3); *(md5_uint32 *) & ctx->buffer[bytes + pad + 4] = - SWAP((ctx->total[1] << 3) | (ctx->total[0] >> 29)); + SWAP( ((ctx->total[1] << 3) | (ctx->total[0] >> 29)) ); /* Process last bytes. */ md5_process_block(ctx->buffer, bytes + pad + 8, ctx); -- cgit v1.2.3-55-g6feb