ffserver: Cast time_t value when using it in a format string.

Fixes ticket #5103.
This commit is contained in:
Carl Eugen Hoyos 2015-12-29 16:00:34 +01:00
parent bd03ee1184
commit e5c16e38fe

View File

@ -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 */