Acked-by: Ethan Jackson <[email protected]> We've really got to get sparse to work with clang, this sort of thing is going to get annoying. C'est la vie.
Ethan On Tue, Aug 13, 2013 at 6:54 AM, Ben Pfaff <[email protected]> wrote: > Signed-off-by: Ben Pfaff <[email protected]> > --- > 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 > [email protected] > http://openvswitch.org/mailman/listinfo/dev X-CudaMail-Whitelist-To: [email protected] _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
