Browse code

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

Fixes ticket #5103.

Carl Eugen Hoyos authored on 2015/12/30 00:00:34
Showing 1 changed files
... ...
@@ -3934,7 +3934,7 @@ static void handle_child_exit(int sig)
3934 3934
             fprintf(stderr,
3935 3935
                     "%s: Pid %"PRId64" exited with status %d after %"PRId64" "
3936 3936
                         "seconds\n",
3937
-                    feed->filename, (int64_t) pid, status, uptime);
3937
+                    feed->filename, (int64_t) pid, status, (int64_t)uptime);
3938 3938
 
3939 3939
             if (uptime < 30)
3940 3940
                 /* Turn off any more restarts */