changeset 440:63e1f9c749dd libavutil

fixing warning md5.c:150: warning: passing argument 2 of 'av_md5_update' from incompatible pointer type
author michael
date Wed, 30 Jan 2008 04:50:09 +0000
parents 4d19262ba3ff
children 6335e6e63d91
files md5.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/md5.c	Mon Jan 28 17:23:57 2008 +0000
+++ b/md5.c	Wed Jan 30 04:50:09 2008 +0000
@@ -147,7 +147,7 @@
     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]);