From b8d02597e3dcea16b6aeda2d1aae11ca3812932a Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 17 Oct 2010 23:01:32 +0200 Subject: [PATCH] md5: fix biuld failure on big-endian machines Signed-off-by: Denys Vlasenko --- libbb/md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbb/md5.c b/libbb/md5.c index 6001a9c8e..051c8ede4 100644 --- a/libbb/md5.c +++ b/libbb/md5.c @@ -87,7 +87,7 @@ static void md5_process_block64(md5_ctx_t *ctx) 0, 7, 14, 5, 12, 3, 10, 1, 8, 15, 6, 13, 4, 11, 2, 9 /* 4 */ }; #endif - const uint32_t *words = (const void*) ctx->wbuffer; + uint32_t *words = (void*) ctx->wbuffer; uint32_t A = ctx->A; uint32_t B = ctx->B; uint32_t C = ctx->C; -- 2.25.1