[vdr] small patch to compil vdr-1.7.8 with gcc-4.4.0

Gregoire Favre gregoire.favre at gmail.com
Tue Jul 14 13:23:07 CEST 2009


On Tue, Jul 14, 2009 at 12:33:47PM +0200, Matthias Schwarzott wrote:

> Well, but why not having a look at the other gcc-4.4 patches for different 
> vdr-versions, and just use the not const recording->fileName member?
> This can be done, as cRecordings is a friend of cRecording.
> 
> -     char *ext = strrchr(recording->FileName(), '.');
> +     char *ext = strrchr(recording->fileName, '.');

Oh, very nice, I didn't look at the patch for older VDR, of course it's
better this way :-)

Thanks.
-- 
	Grégoire FAVRE



More information about the vdr mailing list