Commit e5c16e38 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

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

Fixes ticket #5103.
parent bd03ee11
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment