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 <[email protected]>
---
 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);
                }
-- 
2.7.1.250.gff4ea60

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to