thread: Use explicit wide type when shifting > 32 bits
authorThomas Graf <tgraf@noironetworks.com>
Fri, 29 Aug 2014 10:21:49 +0000 (12:21 +0200)
committerBen Pfaff <blp@nicira.com>
Fri, 29 Aug 2014 17:48:42 +0000 (10:48 -0700)
commitb08b678a16be5e054f0c36b3b5b1338827811c65
tree3346685cb59a70f805efeaa1ff2691edcf7944c8
parent6565262571773d6a9ff01761e2358ada0f00be0b
thread: Use explicit wide type when shifting > 32 bits

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 <tgraf@noironetworks.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ovs-thread.c