From f75169b2511fc1f08bfd632856db18145d234a38 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 26 Apr 2012 23:47:32 +0200 Subject: [PATCH] swr-test: fix pointer type warnings Signed-off-by: Michael Niedermayer --- libswresample/swresample_test.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libswresample/swresample_test.c b/libswresample/swresample_test.c index 2148c28895..c1f1eda9f8 100644 --- a/libswresample/swresample_test.c +++ b/libswresample/swresample_test.c @@ -256,7 +256,7 @@ int main(int argc, char **argv){ r = (seed * (uint64_t)(max_tests - test)) >>32; FFSWAP(int, remaining_tests[r], remaining_tests[max_tests - test - 1]); } - qsort(remaining_tests + max_tests - num_tests, num_tests, sizeof(remaining_tests[0]), cmp); + qsort(remaining_tests + max_tests - num_tests, num_tests, sizeof(remaining_tests[0]), (void*)cmp); in_sample_rate=16000; for(test=0; test