summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2013-02-02 03:50:53 +0100
committerJan Klemkow <j.klemkow@wemelug.de>2013-02-02 03:50:53 +0100
commit5d53bceb5616e35df0893a672f454f6a30104385 (patch)
tree594293e4c917e638bee038b20d280cb5a0c571e9
parent5ad7a27486093f375979ad21c90184688b811f5b (diff)
downloadadvtime-5d53bceb5616e35df0893a672f454f6a30104385.tar.gz
advtime-5d53bceb5616e35df0893a672f454f6a30104385.tar.bz2
advtime-5d53bceb5616e35df0893a672f454f6a30104385.zip
suppress warning for wrong use of printing flags
-rw-r--r--src/cuttime.c2
-rw-r--r--src/overlap.c2
-rw-r--r--src/util.c2
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;
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