# HG changeset patch # User lu_zero # Date 1197493391 0 # Node ID 7390e0fc2fd3841a8b63a228173cd469c74b02f0 # Parent aedb9d18c7cfe89da7f93cd04df3e2fc6186b367 kill a warning, av_sha1_update accepts uint8_t * not uint64_t * diff -r aedb9d18c7cf -r 7390e0fc2fd3 sha1.c --- 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]); }