X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fgraph%2Frte_graph_worker.h;h=0c0b9c095adfe50ba53244a59e738fb5c2fd3cf9;hb=6e858b4d9244cf53505589673755ab18ac2a4a83;hp=eef77f732adc1234dfce194cd68ff4ccbb88628b;hpb=99a2dd955fba6e4cc23b77d590a033650ced9c45;p=dpdk.git diff --git a/lib/graph/rte_graph_worker.h b/lib/graph/rte_graph_worker.h index eef77f732a..0c0b9c095a 100644 --- a/lib/graph/rte_graph_worker.h +++ b/lib/graph/rte_graph_worker.h @@ -155,7 +155,7 @@ rte_graph_walk(struct rte_graph *graph) * +-----+ <= cir_start + mask */ while (likely(head != graph->tail)) { - node = RTE_PTR_ADD(graph, cir_start[(int32_t)head++]); + node = (struct rte_node *)RTE_PTR_ADD(graph, cir_start[(int32_t)head++]); RTE_ASSERT(node->fence == RTE_GRAPH_FENCE); objs = node->objs; rte_prefetch0(objs);