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

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Jun 5 06:29:00 CEST 2008


> --- 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 ()



More information about the DVDnav-discuss mailing list