Re: [ovs-dev] [PATCH] thread: Use explicit wide type when shifting > 32 bits

2014-08-29 Thread Ben Pfaff
On Fri, Aug 29, 2014 at 12:21:49PM +0200, Thomas Graf wrote: > Without the explicit wide type, the shift operation may be performed > on a int which will result in implementation defined behaviour on a > system with more than 32 CPUs. > > Signed-off-by: Thomas Graf Thanks, I applied this to mast

[ovs-dev] [PATCH] thread: Use explicit wide type when shifting > 32 bits

2014-08-29 Thread Thomas Graf
Without the explicit wide type, the shift operation may be performed on a int which will result in implementation defined behaviour on a system with more than 32 CPUs. Signed-off-by: Thomas Graf --- lib/ovs-thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ovs-