Signed-off-by: Ben Pfaff <b...@nicira.com> --- ofproto/ofproto-dpif-upcall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index 55ada89..b451f1d 100644 --- a/ofproto/ofproto-dpif-upcall.c +++ b/ofproto/ofproto-dpif-upcall.c @@ -547,7 +547,7 @@ recv_upcalls(struct udpif *udpif) || type == OVS_KEY_ATTR_UDP) { if (nl_attr_get_size(nla) == 4) { ovs_be32 attr = nl_attr_get_be32(nla); - hash = mhash_add(hash, (uint32_t) attr); + hash = mhash_add(hash, (OVS_FORCE uint32_t) attr); n_bytes += 4; } else { VLOG_WARN("Netlink attribute with incorrect size."); -- 1.7.10.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev