summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 3f7702f..ff00370 100644
--- a/src/util.c
+++ b/src/util.c
@@ -3,6 +3,7 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
+#include <inttypes.h>
#include "video_decode.h"
#include "util.h"
@@ -134,7 +135,7 @@ print_time(int64_t msec) {
int ss = msec / 1000;
msec -= ss * 1000;
- printf("%02d:%02d:%02d.%03lld", hh, mm, ss, msec);
+ printf("%02d:%02d:%02d.%03" PRId64, hh, mm, ss, msec);
}
int