Commit 9c49d590 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/hmac: silence pointer type warnings

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d61681f9
...@@ -53,17 +53,17 @@ AVHMAC *av_hmac_alloc(enum AVHMACType type) ...@@ -53,17 +53,17 @@ AVHMAC *av_hmac_alloc(enum AVHMACType type)
case AV_HMAC_MD5: case AV_HMAC_MD5:
c->blocklen = 64; c->blocklen = 64;
c->hashlen = 16; c->hashlen = 16;
c->init = av_md5_init; c->init = (void*)av_md5_init;
c->update = av_md5_update; c->update = (void*)av_md5_update;
c->final = av_md5_final; c->final = (void*)av_md5_final;
c->hash = av_md5_alloc(); c->hash = av_md5_alloc();
break; break;
case AV_HMAC_SHA1: case AV_HMAC_SHA1:
c->blocklen = 64; c->blocklen = 64;
c->hashlen = 20; c->hashlen = 20;
c->init = sha1_init; c->init = sha1_init;
c->update = av_sha_update; c->update = (void*)av_sha_update;
c->final = av_sha_final; c->final = (void*)av_sha_final;
c->hash = av_sha_alloc(); c->hash = av_sha_alloc();
break; break;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment