On Thu, Feb 04, 2016 at 04:10:07PM -0800, Jarno Rajahalme wrote:
> From: Gurucharan Shetty <gshe...@nicira.com>
> 
> Currently, MSVC complains when you have a macro of the
> form TYPE_MAXIMUM(uint64_t) because a part of macro becomes
> ~(uint64_t)0 << 64 with a warning:
> 
> C4293: '<<' : shift count negative or too big, undefined behavior.
> 
> This commit makes changes to the macro to prevent that warning.
> 
> Suggested-by: Ben Pfaff <b...@nicira.com>
> Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>
> Acked-by: Ben Pfaff <b...@nicira.com>
> Signed-off-by: Jarno Rajahalme <ja...@ovn.org>

Acked-by: Ben Pfaff <b...@ovn.org>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to