aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2015-12-29 16:00:34 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-12-29 16:00:34 +0100
commite5c16e38fe15a40b2d38bd7ab83e1243012a2077 (patch)
tree1155895e949cb1c09e96d65d92fb2140603bb34e
parentbd03ee1184e404e8fc69f8ab4787b2ee02554d5b (diff)
downloadffmpeg-e5c16e38fe15a40b2d38bd7ab83e1243012a2077.tar.gz
ffserver: Cast time_t value when using it in a format string.
Fixes ticket #5103.
-rw-r--r--ffserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c
index 889dbd4aa1..bc7dbee760 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3934,7 +3934,7 @@ static void handle_child_exit(int sig)
fprintf(stderr,
"%s: Pid %"PRId64" exited with status %d after %"PRId64" "
"seconds\n",
- feed->filename, (int64_t) pid, status, uptime);
+ feed->filename, (int64_t) pid, status, (int64_t)uptime);
if (uptime < 30)
/* Turn off any more restarts */