changeset 4484:da64b6d7a2d9 libavformat

Silence "assdec.c:146: warning: passing argument 4 of ¡Æqsort¡Ç from incompatible pointer type" The alternative (schoolbook) solution is less readable.
author michael
date Sat, 14 Feb 2009 15:44:46 +0000
parents 187c981dfcb0
children 9267b8cf7918
files assdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/assdec.c	Sat Feb 14 13:44:21 2009 +0000
+++ b/assdec.c	Sat Feb 14 15:44:46 2009 +0000
@@ -143,7 +143,7 @@
         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;