Commit 38857cc9 authored by Diego Biurrun's avatar Diego Biurrun

ifo_read: Use correct printf length modifier

src/ifo_read.c:1078:13: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=]
parent 22a6253a
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment