On Thu, Feb 04, 2016 at 04:10:07PM -0800, Jarno Rajahalme wrote: > From: Gurucharan Shetty <[email protected]> > > 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 <[email protected]> > Signed-off-by: Gurucharan Shetty <[email protected]> > Acked-by: Ben Pfaff <[email protected]> > Signed-off-by: Jarno Rajahalme <[email protected]>
Acked-by: Ben Pfaff <[email protected]> _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
