examples/ipv4_frag: update
authorIntel <intel.com>
Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 25 Jul 2013 13:58:01 +0000 (15:58 +0200)
Signed-off-by: Intel
examples/ipv4_frag/main.c

index cc1e51b..15fc2b7 100644 (file)
@@ -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);
        }