graph2dot: fix printf format specifier
authorDiego Biurrun <diego@biurrun.de>
Wed, 4 Jul 2012 14:55:13 +0000 (16:55 +0200)
committerDiego Biurrun <diego@biurrun.de>
Wed, 4 Jul 2012 16:12:48 +0000 (18:12 +0200)
tools/graph2dot.c:85: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘int’

tools/graph2dot.c

index a52416d..6ea2f32 100644 (file)
@@ -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);
                 }