Browse Source

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

Fixes ticket #5103.
tags/n3.0
Carl Eugen Hoyos 9 years ago
parent
commit
e5c16e38fe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffserver.c

+ 1
- 1
ffserver.c 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 */


Loading…
Cancel
Save