diff options
author | Jan Klemkow <j.klemkow@wemelug.de> | 2013-02-02 03:50:53 +0100 |
---|---|---|
committer | Jan Klemkow <j.klemkow@wemelug.de> | 2013-02-02 03:50:53 +0100 |
commit | 5d53bceb5616e35df0893a672f454f6a30104385 (patch) | |
tree | 594293e4c917e638bee038b20d280cb5a0c571e9 | |
parent | 5ad7a27486093f375979ad21c90184688b811f5b (diff) | |
download | advtime-5d53bceb5616e35df0893a672f454f6a30104385.tar.gz advtime-5d53bceb5616e35df0893a672f454f6a30104385.tar.bz2 advtime-5d53bceb5616e35df0893a672f454f6a30104385.zip |
suppress warning for wrong use of printing flags
-rw-r--r-- | src/cuttime.c | 2 | ||||
-rw-r--r-- | src/overlap.c | 2 | ||||
-rw-r--r-- | src/util.c | 2 |
3 files changed, 3 insertions, 3 deletions
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; @@ -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 |