On Fri, Jul 17, 2015 at 09:26:23AM -0700, Gurucharan Shetty wrote:
> 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>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to