Message ID | 1456490813-18110-1-git-send-email-maxim.uvarov@linaro.org |
---|---|
State | Accepted |
Commit | 26081e91636723b65494ea324aa840073226233a |
Headers | show |
I applied this patch due to trivial change. Maxim. On 02/26/16 15:46, Maxim Uvarov wrote: > traffic_mngr.c: In function 'test_shaper_bw': > traffic_mngr.c:1635:5: error: format '%lu' expects > argument of type 'long unsigned int', but > argument 3 has type 'uint64_t' [-Werror=format=] > expected_rcv_gap_us, min_rcv_gap, max_rcv_gap); > > Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> > --- > test/validation/traffic_mngr/traffic_mngr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/test/validation/traffic_mngr/traffic_mngr.c b/test/validation/traffic_mngr/traffic_mngr.c > index b722787..f8084b8 100644 > --- a/test/validation/traffic_mngr/traffic_mngr.c > +++ b/test/validation/traffic_mngr/traffic_mngr.c > @@ -1630,7 +1630,7 @@ static int test_shaper_bw(const char *shaper_name, > "std_dev_gap=%u\n", __func__, > rcv_stats.min_rcv_gap, avg_rcv_gap, > rcv_stats.max_rcv_gap, rcv_stats.std_dev_gap); > - fprintf(stderr, " expected_rcv_gap=%lu acceptable " > + fprintf(stderr, " expected_rcv_gap=%" PRIu64 " acceptable " > "rcv_gap range=%u..%u\n", > expected_rcv_gap_us, min_rcv_gap, max_rcv_gap); > }
Thanks, Maxim. On Fri, Feb 26, 2016 at 11:02 AM, Maxim Uvarov <maxim.uvarov@linaro.org> wrote: > I applied this patch due to trivial change. > > Maxim. > > On 02/26/16 15:46, Maxim Uvarov wrote: > >> traffic_mngr.c: In function 'test_shaper_bw': >> traffic_mngr.c:1635:5: error: format '%lu' expects >> argument of type 'long unsigned int', but >> argument 3 has type 'uint64_t' [-Werror=format=] >> expected_rcv_gap_us, min_rcv_gap, max_rcv_gap); >> >> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> >> --- >> test/validation/traffic_mngr/traffic_mngr.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/test/validation/traffic_mngr/traffic_mngr.c >> b/test/validation/traffic_mngr/traffic_mngr.c >> index b722787..f8084b8 100644 >> --- a/test/validation/traffic_mngr/traffic_mngr.c >> +++ b/test/validation/traffic_mngr/traffic_mngr.c >> @@ -1630,7 +1630,7 @@ static int test_shaper_bw(const char *shaper_name, >> "std_dev_gap=%u\n", __func__, >> rcv_stats.min_rcv_gap, avg_rcv_gap, >> rcv_stats.max_rcv_gap, >> rcv_stats.std_dev_gap); >> - fprintf(stderr, " expected_rcv_gap=%lu >> acceptable " >> + fprintf(stderr, " expected_rcv_gap=%" PRIu64 " >> acceptable " >> "rcv_gap range=%u..%u\n", >> expected_rcv_gap_us, min_rcv_gap, >> max_rcv_gap); >> } >> > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp >
diff --git a/test/validation/traffic_mngr/traffic_mngr.c b/test/validation/traffic_mngr/traffic_mngr.c index b722787..f8084b8 100644 --- a/test/validation/traffic_mngr/traffic_mngr.c +++ b/test/validation/traffic_mngr/traffic_mngr.c @@ -1630,7 +1630,7 @@ static int test_shaper_bw(const char *shaper_name, "std_dev_gap=%u\n", __func__, rcv_stats.min_rcv_gap, avg_rcv_gap, rcv_stats.max_rcv_gap, rcv_stats.std_dev_gap); - fprintf(stderr, " expected_rcv_gap=%lu acceptable " + fprintf(stderr, " expected_rcv_gap=%" PRIu64 " acceptable " "rcv_gap range=%u..%u\n", expected_rcv_gap_us, min_rcv_gap, max_rcv_gap); }
traffic_mngr.c: In function 'test_shaper_bw': traffic_mngr.c:1635:5: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' [-Werror=format=] expected_rcv_gap_us, min_rcv_gap, max_rcv_gap); Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> --- test/validation/traffic_mngr/traffic_mngr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)