From: Lili Huang <huanglili.hu...@huawei.com> The value cookie_offset should be 'size_t' type.
Change-Id: Id68b83d26b1235048cbcfd21429ad6915a7a2b36 Signed-off-by: Lili Huang <huanglili.hu...@huawei.com> --- ofproto/ofproto-dpif-xlate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index d94e9dc..e1e6194 100644 --- a/ofproto/ofproto-dpif-xlate.c +++ b/ofproto/ofproto-dpif-xlate.c @@ -2900,7 +2900,7 @@ compose_sample_action(struct xlate_ctx *ctx, ctx->xbridge, ctx->xin->flow.in_port.ofp_port); uint32_t pid = dpif_port_get_pid(ctx->xbridge->dpif, odp_port, flow_hash_5tuple(&ctx->xin->flow, 0)); - int cookie_offset = odp_put_userspace_action(pid, cookie, cookie_size, + size_t cookie_offset = odp_put_userspace_action(pid, cookie, cookie_size, tunnel_out_port, include_actions, ctx->odp_actions); -- 1.9.5.msysgit.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev