ofputil_format_version uses type 'size_t' to print version whereas expected type is 'unsigned int'.
Signed-off-by: Mehak Mahajan <mmaha...@nicira.com> --- lib/ofp-util.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/ofp-util.c b/lib/ofp-util.c index 146e538..ae54477 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -1043,7 +1043,7 @@ ofputil_usable_protocols(const struct match *match) void ofputil_format_version(struct ds *msg, enum ofp_version version) { - ds_put_format(msg, "0x%02zx", version); + ds_put_format(msg, "0x%02x", version); } void -- 1.7.2.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev