diff options
author | Michael Niedermayer | 2015-06-19 02:11:40 +0200 |
---|---|---|
committer | Michael Niedermayer | 2015-06-19 02:25:48 +0200 |
commit | fdbad24090e167821c8587e4f26d0978fe4bef6b (patch) | |
tree | 2a5c02039bc36ddb77d759ddacb7de89f34b5c8c /libavutil/aes.c | |
parent | d8a227f2319ad639293803e67ecce5a8c6984aca (diff) |
avutil/aes: Fix types
Fixes "warning: argument #2 is incompatible with prototype:"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/aes.c')
-rw-r--r-- | libavutil/aes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/aes.c b/libavutil/aes.c index fd8706089c..8d4bbbb7fa 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -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++) { |