From 5d53bceb5616e35df0893a672f454f6a30104385 Mon Sep 17 00:00:00 2001 From: Jan Klemkow Date: Sat, 2 Feb 2013 03:50:53 +0100 Subject: suppress warning for wrong use of printing flags --- src/cuttime.c | 2 +- src/overlap.c | 2 +- src/util.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/cuttime.c b/src/cuttime.c index 2b591a6..1735959 100644 --- a/src/cuttime.c +++ b/src/cuttime.c @@ -99,7 +99,7 @@ main(int argc, char **argv) printf("%d\t", i); if (time_flag) - printf("%jd\t", frame_b->dts); + printf("%lld\t", frame_b->dts); if (average_flag) /* print frame average */ printf("%f", frame_average(frame_a)); diff --git a/src/overlap.c b/src/overlap.c index 9af4e46..38b0c3b 100644 --- a/src/overlap.c +++ b/src/overlap.c @@ -76,7 +76,7 @@ main(int argc, char **argv) } if (diff_flag) - printf("%ji %f\n", cur_frame->dts, diff); + printf("%lld %f\n", cur_frame->dts, diff); if (cur_frame->dts > duration) break; diff --git a/src/util.c b/src/util.c index f61bdbd..3f7702f 100644 --- a/src/util.c +++ b/src/util.c @@ -134,7 +134,7 @@ print_time(int64_t msec) { int ss = msec / 1000; msec -= ss * 1000; - printf("%02d:%02d:%02d.%03jd", hh, mm, ss, msec); + printf("%02d:%02d:%02d.%03lld", hh, mm, ss, msec); } int -- cgit