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:
Ingo Weinhold 2008-07-22 20:58:23 +00:00
parent 5c99d63970
commit 7c27db095e

View File

@ -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;
}