Skip to content

Commit

Permalink
graph2dot: fix printf format specifier
Browse files Browse the repository at this point in the history
tools/graph2dot.c:85: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘int’
  • Loading branch information
DonDiego committed Jul 4, 2012
1 parent 5575191 commit fa2d747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/graph2dot.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static void print_digraph(FILE *outfile, AVFilterGraph *graph)
av_get_channel_layout_string(buf, sizeof(buf), -1,
link->channel_layout);
fprintf(outfile,
" [ label= \"fmt:%s sr:%"PRId64 " cl:%s\" ]",
" [ label= \"fmt:%s sr:%d cl:%s\" ]",
av_get_sample_fmt_name(link->format),
link->sample_rate, buf);
}
Expand Down

0 comments on commit fa2d747

Please sign in to comment.