[DVDnav-discuss] [PATCH] fix or suppress compiler warnings

Nico Sabbi Nicola.Sabbi at poste.it
Thu Jun 5 12:32:35 CEST 2008


Il Thursday 05 June 2008 06:29:00 Reimar Döffinger ha scritto:
> > --- a/src/vm/vm.c
> > +++ b/src/vm/vm.c
> > @@ -159,7 +159,7 @@ static void dvd_read_name(char *name, const char *device) {
> >                fprintf(MSG_OUT, " ");
> >              }
> >            }
> > -          strncpy(name, &data[25], 48);
> > +          strncpy(name, (char*)(&data[25]), 48);
> 
> Useless ()

right. All applied. thanks.



More information about the DVDnav-discuss mailing list