From: Michael Niedermayer Date: Thu, 26 Apr 2012 21:47:32 +0000 (+0200) Subject: swr-test: fix pointer type warnings X-Git-Tag: android-x86-4.4-r1~12177 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f75169b2511fc1f08bfd632856db18145d234a38;p=android-x86%2Fexternal-ffmpeg.git swr-test: fix pointer type warnings Signed-off-by: Michael Niedermayer --- 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