hash: make 64-bit even on 32-bit
authorJens Axboe <axboe@fb.com>
Wed, 25 May 2016 19:19:16 +0000 (13:19 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 25 May 2016 19:19:16 +0000 (13:19 -0600)
commit1bd4cb6b62903c7785d6891d8b40a745b52c609f
tree8117da7bee8808151cee1b9ecfc7be9a0e7b509f
parent97e1fe78db572a48a44c2a8511f8393a8643fc28
hash: make 64-bit even on 32-bit

Fixes this warning on Windows, where unsigned long is 32-bit:

hash.h: In function ‘__hash_long’:
hash.h:58:2: warning: left shift count >= width of type
  n <<= 33;
  ^

Signed-off-by: Jens Axboe <axboe@fb.com>
hash.h