changeset 407:7390e0fc2fd3 libavutil

kill a warning, av_sha1_update accepts uint8_t * not uint64_t *
author lu_zero
date Wed, 12 Dec 2007 21:03:11 +0000
parents aedb9d18c7cf
children 0ce74d34d02e
files sha1.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sha1.c	Wed Dec 12 20:58:41 2007 +0000
+++ b/sha1.c	Wed Dec 12 21:03:11 2007 +0000
@@ -140,7 +140,7 @@
     while ((ctx->count & 63) != 56) {
         av_sha1_update(ctx, "", 1);
     }
-    av_sha1_update(ctx, &finalcount, 8);  /* Should cause a transform() */
+    av_sha1_update(ctx, (uint8_t *)&finalcount, 8); /* Should cause a transform() */
     for(i=0; i<5; i++)
         ((uint32_t*)digest)[i]= be2me_32(ctx->state[i]);
 }