summaryrefslogtreecommitdiff
path: root/libbb/md5.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-10-17 23:01:32 +0200
committerDenys Vlasenko2010-10-17 23:01:32 +0200
commitb8d02597e3dcea16b6aeda2d1aae11ca3812932a (patch)
tree28ddd0fa75789eb593da86a8639340ea2bfa8920 /libbb/md5.c
parent2b0116803bd123d4e2486a221649fd6540a60c99 (diff)
downloadbusybox-b8d02597e3dcea16b6aeda2d1aae11ca3812932a.zip
busybox-b8d02597e3dcea16b6aeda2d1aae11ca3812932a.tar.gz
md5: fix biuld failure on big-endian machines
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/md5.c')
-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;