[libdvdnav-devel] src/ifo_print.c: Fix a couple of fprintf format strings
Andrew Clayton
git at videolan.org
Fri Oct 24 16:29:24 CEST 2014
libdvdread | branch: master | Andrew Clayton <andrew at digital-domain.net> | Fri Oct 24 15:21:33 2014 +0100| [15c9da69c8203179030cc890ece296f584e1f480] | committer: Jean-Baptiste Kempf
src/ifo_print.c: Fix a couple of fprintf format strings
In ifoPrint_TT_SRPT() there are a couple fprintf()'s that take an
unsigned int but %d was used for the format specifier.
Signed-off-by: Andrew Clayton <andrew at digital-domain.net>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/libdvdread.git/?a=commit;h=15c9da69c8203179030cc890ece296f584e1f480
---
src/ifo_print.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ifo_print.c b/src/ifo_print.c
index 2f469dd..1b4acbd 100644
--- a/src/ifo_print.c
+++ b/src/ifo_print.c
@@ -812,8 +812,8 @@ static void ifoPrint_TT_SRPT(tt_srpt_t *tt_srpt) {
if (tt_srpt->title[i].pb_ty.jlc_exists_in_prepost_cmd) printf("\t\tJump/Link/Call exists in pre/post cmd\n");
if (tt_srpt->title[i].pb_ty.jlc_exists_in_button_cmd) printf("\t\tJump/Link/Call exists in button cmd\n");
if (tt_srpt->title[i].pb_ty.jlc_exists_in_tt_dom) printf("\t\tJump/Link/Call exists in tt_dom cmd\n");
- printf("\t\tTitle or time play:%d\n", tt_srpt->title[i].pb_ty.title_or_time_play);
- printf("\t\tChapter search or play:%d\n", tt_srpt->title[i].pb_ty.chapter_search_or_play);
+ printf("\t\tTitle or time play:%u\n", tt_srpt->title[i].pb_ty.title_or_time_play);
+ printf("\t\tChapter search or play:%u\n", tt_srpt->title[i].pb_ty.chapter_search_or_play);
printf("\tParental ID field: %04x\n",
tt_srpt->title[i].parental_id);
More information about the libdvdnav-devel
mailing list