summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-10-17 21:01:32 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-10-17 21:01:32 (GMT)
commitb8d02597e3dcea16b6aeda2d1aae11ca3812932a (patch)
tree28ddd0fa75789eb593da86a8639340ea2bfa8920
parent2b0116803bd123d4e2486a221649fd6540a60c99 (diff)
downloadbusybox-b8d02597e3dcea16b6aeda2d1aae11ca3812932a.tar.gz
busybox-b8d02597e3dcea16b6aeda2d1aae11ca3812932a.tar.bz2
md5: fix biuld failure on big-endian machines
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--libbb/md5.c2
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;