diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2007-12-12 21:03:11 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2007-12-12 21:03:11 +0000 |
commit | 0bc308de56947f2f8580b974ee8631b27a726cd6 (patch) | |
tree | 8948c5925c54240ebc03fea0aee47d2a7f6ad3cd | |
parent | 537c8e7a480282e9dd260a9922c6e9425575636a (diff) | |
download | ffmpeg-0bc308de56947f2f8580b974ee8631b27a726cd6.tar.gz |
kill a warning, av_sha1_update accepts uint8_t * not uint64_t *
Originally committed as revision 11208 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavutil/sha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/sha1.c b/libavutil/sha1.c index 21edb97b15..971fac7444 100644 --- a/libavutil/sha1.c +++ b/libavutil/sha1.c @@ -140,7 +140,7 @@ void av_sha1_final(AVSHA1* ctx, uint8_t digest[20]){ 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]); } |