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

Fixes ticket #5103.
pull/172/head
Carl Eugen Hoyos 9 years ago
parent bd03ee1184
commit e5c16e38fe
  1. 2
      ffserver.c

@ -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…
Cancel
Save