Typo spotted by Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26573 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5c99d63970
commit
7c27db095e
@ -88,7 +88,7 @@ struct SwapHashTableDefinition {
|
||||
|
||||
size_t HashKey(const swap_hash_key& key) const
|
||||
{
|
||||
off_t cacheOffset = key.cache_offset > SWAP_BLOCK_SHIFT;
|
||||
off_t cacheOffset = key.cache_offset >> SWAP_BLOCK_SHIFT;
|
||||
VMAnonymousCache *cache = key.cache;
|
||||
return cacheOffset ^ (int)(int *)cache;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user