[xiph-cvs] cvs commit: ao/src audio_out.c

Warren Dukes shank at xiph.org
Tue Mar 9 07:35:42 PST 2004



shank       04/03/09 10:35:42

  Modified:    .        configure.in
               src      audio_out.c
  Log:
  remove compilation warrning due to fourth argument of qsort() call.
  bump version to 0.8.5 in configure.in

Revision  Changes    Path
1.55      +1 -1      ao/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/ao/configure.in,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- configure.in	18 Oct 2003 20:36:46 -0000	1.54
+++ configure.in	9 Mar 2004 15:35:41 -0000	1.55
@@ -2,7 +2,7 @@
 
 AC_INIT(src/audio_out.c)
 
-AM_INIT_AUTOMAKE(libao,0.8.4)
+AM_INIT_AUTOMAKE(libao,0.8.5)
 AM_MAINTAINER_MODE
 AM_DISABLE_STATIC
 

<p><p>1.28      +3 -1      ao/src/audio_out.c

Index: audio_out.c
===================================================================
RCS file: /usr/local/cvsroot/ao/src/audio_out.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- audio_out.c	31 Aug 2003 15:09:50 -0000	1.27
+++ audio_out.c	9 Mar 2004 15:35:41 -0000	1.28
@@ -306,7 +306,9 @@
         *driver_count = i;
         for (i = 0; i < *driver_count; i++, list = list->next)
                 drivers_table[i] = list;
-	qsort(drivers_table, i, sizeof(driver_list *), _compar_driver_priority);
+	qsort(drivers_table, i, sizeof(driver_list *), 
+			(int(*)(const void *, const void *))
+			_compar_driver_priority);
         *head = drivers_table[0];
         for (i = 1; i < *driver_count; i++)
                 drivers_table[i-1]->next = drivers_table[i];

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list