diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-02-14 18:44:46 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-02-14 18:44:46 +0300 |
commit | 8ba311410ab54cdaa7192f4077b5ff7fff508ba5 (patch) | |
tree | aae751326c154715bd8307e95996932af8cbcfa9 /libavformat | |
parent | fc2dd7e3defcba84ffe36ddf1452170f85143129 (diff) |
Silence "assdec.c:146: warning: passing argument 4 of ‘qsort’ from incompatible pointer type"
The alternative (schoolbook) solution is less readable.
Originally committed as revision 17230 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/assdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/assdec.c b/libavformat/assdec.c index 82e6a712d7..32fb09d22d 100644 --- a/libavformat/assdec.c +++ b/libavformat/assdec.c @@ -143,7 +143,7 @@ static int read_header(AVFormatContext *s, AVFormatParameters *ap) p++; } - qsort(ass->event, ass->event_count, sizeof(*ass->event), event_cmp); + qsort(ass->event, ass->event_count, sizeof(*ass->event), (void*)event_cmp); return 0; |