ffserver: Cast time_t value when using it in a format string.
Fixes ticket #5103.
This commit is contained in:
parent
bd03ee1184
commit
e5c16e38fe
@ -3934,7 +3934,7 @@ static void handle_child_exit(int sig)
|
|||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"%s: Pid %"PRId64" exited with status %d after %"PRId64" "
|
"%s: Pid %"PRId64" exited with status %d after %"PRId64" "
|
||||||
"seconds\n",
|
"seconds\n",
|
||||||
feed->filename, (int64_t) pid, status, uptime);
|
feed->filename, (int64_t) pid, status, (int64_t)uptime);
|
||||||
|
|
||||||
if (uptime < 30)
|
if (uptime < 30)
|
||||||
/* Turn off any more restarts */
|
/* Turn off any more restarts */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user