diff options
author | Eric Andersen | 2001-05-24 14:16:28 +0000 |
---|---|---|
committer | Eric Andersen | 2001-05-24 14:16:28 +0000 |
commit | 5a9d441b2cfb4f3614971f918bb69b5e7a5ea2c9 (patch) | |
tree | b6b30a570093f5a6a57b5bd8317687b5ee9ee0b3 /md5sum.c | |
parent | 1c1f5d30477e9c845c1d08b2390bd889f6b1d018 (diff) | |
download | busybox-5a9d441b2cfb4f3614971f918bb69b5e7a5ea2c9.zip busybox-5a9d441b2cfb4f3614971f918bb69b5e7a5ea2c9.tar.gz |
Fix up some signed char vs int issues that show up on powerpc.
Diffstat (limited to 'md5sum.c')
-rw-r--r-- | md5sum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |