From cd2f7ed0007f4803b6bd845366b2398abb32c355 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 12 Dec 2011 02:03:38 +0100 Subject: [PATCH] seek-test: use standard format specifiers in snprintf() Signed-off-by: Michael Niedermayer --- libavformat/seek-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/seek-test.c b/libavformat/seek-test.c index 519f9492ab..34238e0e5d 100644 --- a/libavformat/seek-test.c +++ b/libavformat/seek-test.c @@ -53,7 +53,7 @@ static void ts_str(char buffer[60], int64_t ts, AVRational base) return; } ts= av_rescale_q(ts, base, (AVRational){1, 1000000}); - snprintf(buffer, 60, "%c%Ld.%06Ld", ts<0 ? '-' : ' ', FFABS(ts)/1000000, FFABS(ts)%1000000); + snprintf(buffer, 60, "%c%"PRId64".%06"PRId64"", ts<0 ? '-' : ' ', FFABS(ts)/1000000, FFABS(ts)%1000000); } int main(int argc, char **argv) -- 2.11.0