base: avoid shift warning in register array

Fix #422
This commit is contained in:
Martin Stein 2012-12-18 11:50:04 +01:00 committed by Norman Feske
parent f2e462266e
commit 28f81c4a9c
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ namespace Genode
ITEM_WIDTH = _ITEM_WIDTH,
ITEM_WIDTH_LOG2 = Item::WIDTH_LOG2,
MAX_INDEX = ITEMS - 1,
ITEM_MASK = (1 << ITEM_WIDTH) - 1,
ITEM_MASK = (1ULL << ITEM_WIDTH) - 1,
};
/* analogous to 'Mmio::Register::Register_base' */