[ovs-git] Open vSwitch: ofp-util: Avoid gcc warning on NetBSD (master)

dev at openvswitch.org dev at openvswitch.org
Thu Feb 20 16:50:52 UTC 2014

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  bf062576fd748fc526903c428ffa847032a7b1d0 (commit)
      from  17b9089a32e9edc01157989f536525a53635c2d2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bf062576fd748fc526903c428ffa847032a7b1d0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bf062576fd748fc526903c428ffa847032a7b1d0
Author: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
ofp-util: Avoid gcc warning on NetBSD
Avoid the following warning caused by the combination
of NetBSD's htons implementation and gcc bug.
Now --enable-Werror build succeeds on NetBSD-6.

    lib/ofp-util.c: In function 'ofputil_match_from_ofp10_match':
    lib/ofp-util.c:174:15: error: integer overflow in expression

Signed-off-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Signed-off-by: Ben Pfaff <blp at nicira.com>


Summary of changes:
 lib/ofp-util.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Open vSwitch

More information about the git mailing list