include/vlc_arrays.h: Fix previous commit.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 11 Oct 2007 12:12:31 +0000 (12:12 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 11 Oct 2007 12:12:31 +0000 (12:12 +0000)
include/vlc_arrays.h

index 7db0794..4a4085c 100644 (file)
@@ -317,7 +317,7 @@ vlc_array_object_at_index( vlc_array_t * p_array, int i_index )
 static inline void
 vlc_array_insert( vlc_array_t * p_array, void * p_elem, int i_index )
 {
-    TAB_INSERT( p_array->i_count, p_array->pp_elems, p_elem, i_index );
+    TAB_INSERT_CAST( (void **), p_array->i_count, p_array->pp_elems, p_elem, i_index );
 }
 
 static inline void