From 6b632678cbb5b669a9094963037fcbec28dce3d2 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Mon, 17 Dec 2007 08:51:15 +0000 Subject: [PATCH] DShow, partial fix due to changes in [23667] --- modules/access/dshow/dshow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp index 74e6604f97..213dcaf5b5 100644 --- a/modules/access/dshow/dshow.cpp +++ b/modules/access/dshow/dshow.cpp @@ -1863,10 +1863,10 @@ static int FindDevicesCallback( vlc_object_t *p_this, char const *psz_name, if( !list_devices.size() ) return VLC_SUCCESS; p_item->ppsz_list = - (const char **)realloc( p_item->ppsz_list, + (char **)realloc( p_item->ppsz_list, (list_devices.size()+3) * sizeof(char *) ); p_item->ppsz_list_text = - (const char **)realloc( p_item->ppsz_list_text, + (char **)realloc( p_item->ppsz_list_text, (list_devices.size()+3) * sizeof(char *) ); list::iterator iter; -- 2.20.1