From: Ethan Jackson Date: Thu, 9 Feb 2012 09:39:49 +0000 (-0800) Subject: ofp-print: Fix compiler warning. X-Git-Tag: sliver-openvswitch-0.1-1~339 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2953097759d3baaf22223b876d0028be8df78d3d;p=sliver-openvswitch.git ofp-print: Fix compiler warning. Signed-off-by: Ethan Jackson --- diff --git a/lib/ofp-print.c b/lib/ofp-print.c index 30ecdbf87..8df439de1 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -410,7 +410,7 @@ ofp_print_packet_out(struct ds *string, const struct ofp_packet_out *opo, ofp_print_actions(string, po.actions, po.n_actions); if (po.buffer_id == UINT32_MAX) { - ds_put_format(string, " data_len=%d", po.packet_len); + ds_put_format(string, " data_len=%zu", po.packet_len); if (verbosity > 0 && po.packet_len > 0) { char *packet = ofp_packet_to_string(po.packet, po.packet_len); ds_put_char(string, '\n');