[libdvdnav-devel] [PATCH] ifo_read: Use correct printf length modifier

Jean-Baptiste Kempf jb at videolan.org
Thu Jan 2 21:31:02 CET 2014


Obviously OK. I don't think you should ask before committing this kind
of commits...

On 02 Jan, Diego Biurrun wrote :
> ---
>  src/ifo_read.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/ifo_read.c b/src/ifo_read.c
> index 71ff01d..debe589 100644
> --- a/src/ifo_read.c
> +++ b/src/ifo_read.c
> @@ -1074,7 +1074,7 @@ int ifoRead_TT_SRPT(ifo_handle_t *ifofile) {
>    }
>  
>    if(tt_srpt->nr_of_srpts>info_length/sizeof(title_info_t)){
> -    fprintf(stderr,"libdvdread: data mismatch: info_length (%ld)!= nr_of_srpts (%d). Truncating.\n",
> +    fprintf(stderr,"libdvdread: data mismatch: info_length (%zd)!= nr_of_srpts (%d). Truncating.\n",
>              info_length/sizeof(title_info_t),tt_srpt->nr_of_srpts);
>      tt_srpt->nr_of_srpts=info_length/sizeof(title_info_t);
>    }
> -- 
> 1.8.3.2
> 
> _______________________________________________
> libdvdnav-devel mailing list
> libdvdnav-devel at videolan.org
> https://mailman.videolan.org/listinfo/libdvdnav-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the libdvdnav-devel mailing list