Commit fdbad240 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/aes: Fix types

Fixes "warning: argument #2 is incompatible with prototype:"
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d8a227f2
......@@ -311,8 +311,8 @@ int main(int argc, char **argv)
AVAES ae, ad;
AVLFG prng;
av_aes_init(&ae, "PI=3.141592654..", 128, 0);
av_aes_init(&ad, "PI=3.141592654..", 128, 1);
av_aes_init(&ae, (const uint8_t*)"PI=3.141592654..", 128, 0);
av_aes_init(&ad, (const uint8_t*)"PI=3.141592654..", 128, 1);
av_lfg_init(&prng, 1);
for (i = 0; i < 10000; i++) {
......
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