[git commit master 1/1] md5: fix biuld failure on big-endian machines

Denys Vlasenko vda.linux at googlemail.com
Sun Oct 17 21:01:32 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=b8d02597e3dcea16b6aeda2d1aae11ca3812932a
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 libbb/md5.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libbb/md5.c b/libbb/md5.c
index 6001a9c..051c8ed 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;
-- 
1.7.1



More information about the busybox-cvs mailing list