[ovs-git] [openvswitch/ovs] 37ba47: packets: Avoid compile errors.
GitHub
noreply at github.com
Fri Sep 4 23:28:34 UTC 2015
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 37ba4764eba8047ccf934e8b796ba7104eec9a7a
https://github.com/openvswitch/ovs/commit/37ba4764eba8047ccf934e8b796ba7104eec9a7a
Author: Aaron Conole <aconole at redhat.com>
Date: 2015-09-04 (Fri, 04 Sep 2015)
Changed paths:
M lib/packets.h
M tests/test-aa.c
Log Message:
-----------
packets: Avoid compile errors.
Commit 74ff3298c880 (userspace: Define and use struct eth_addr.) introduced
a compilation issue due to a bad unsigned 64-bit constant, as well as an
implicit narrow.
This commit uses the C99 ULL suffix to tell the compiler to treat the
constant as 64-bits, and also masks portions of the uint64_t argument to
the htons() calls to avoid compiler errors.
Signed-off-by: Aaron Conole <aconole at redhat.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
More information about the git
mailing list