summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/md5.c b/libavutil/md5.c
index 03c09acbe7..ee39de1318 100644
--- a/libavutil/md5.c
+++ b/libavutil/md5.c
@@ -147,7 +147,7 @@ void av_md5_final(AVMD5 *ctx, uint8_t *dst){
while((ctx->len & 63)<56)
av_md5_update(ctx, "", 1);
- av_md5_update(ctx, &finalcount, 8);
+ av_md5_update(ctx, (uint8_t*)&finalcount, 8);
for(i=0; i<4; i++)
((uint32_t*)dst)[i]= le2me_32(ctx->ABCD[3-i]);