From d0eca2f4052f2f423c7404fca63094351e742f42 Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis Date: Tue, 17 Oct 2023 16:41:54 -0300 Subject: [PATCH] Fix CI error in net_del_ramroute.c when compile for ESP32 The CI was reporting this error in xtensa/esp32 compilation: error: format specifies type 'unsigned int' but the argument has type 'unsigned long long' Signed-off-by: Alan C. Assis --- net/route/net_del_ramroute.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/route/net_del_ramroute.c b/net/route/net_del_ramroute.c index 5914dd46d2469..b10206fca7572 100644 --- a/net/route/net_del_ramroute.c +++ b/net/route/net_del_ramroute.c @@ -91,7 +91,8 @@ static int net_match_ipv4(FAR struct net_route_ipv4_s *route, FAR void *arg) net_ipv4_dumproute("Comparing", route); ninfo("With:\n"); ninfo(" target=%08" PRIx32 " netmask=%08" PRIx32 "\n", - HTONL(match->target), HTONL(match->netmask)); + (unsigned int)HTONL(match->target), + (unsigned int)HTONL(match->netmask)); if (net_ipv4addr_maskcmp(route->target, match->target, match->netmask) && net_ipv4addr_cmp(route->netmask, match->netmask))