Commit 8db0f956 authored by michael's avatar michael

Silence "assdec.c:146: warning: passing argument 4 of ‘qsort’ from incompatible pointer type"

The alternative (schoolbook) solution is less readable.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17230 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9af9ddce
......@@ -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;
......
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