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:
@@ -88,7 +88,7 @@ struct SwapHashTableDefinition {
|
|||||||
|
|
||||||
size_t HashKey(const swap_hash_key& key) const
|
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;
|
VMAnonymousCache *cache = key.cache;
|
||||||
return cacheOffset ^ (int)(int *)cache;
|
return cacheOffset ^ (int)(int *)cache;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user