From: Intel Date: Wed, 19 Dec 2012 23:00:00 +0000 (+0100) Subject: examples/ipv4_frag: update X-Git-Tag: spdx-start~11310 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=33399bcaa41c7bed9f7fd008fcd3d42fc3afd18e;p=dpdk.git examples/ipv4_frag: update Signed-off-by: Intel --- diff --git a/examples/ipv4_frag/main.c b/examples/ipv4_frag/main.c index cc1e51b64c..15fc2b7439 100644 --- a/examples/ipv4_frag/main.c +++ b/examples/ipv4_frag/main.c @@ -312,7 +312,7 @@ static __attribute__((noreturn)) int main_loop(__attribute__((unused)) void *dummy) { struct rte_mbuf *pkts_burst[MAX_PKT_BURST]; - uint32_t lcore_id; + unsigned lcore_id; uint64_t prev_tsc = 0; uint64_t diff_tsc, cur_tsc; int i, j, nb_rx; @@ -729,7 +729,7 @@ MAIN(int argc, char **argv) } printf("Adding route 0x%08x / %d (%d)\n", - l3fwd_route_array[i].ip, + (unsigned) l3fwd_route_array[i].ip, l3fwd_route_array[i].depth, l3fwd_route_array[i].if_out); }