* Disabled the allocation group check again.

* Fixed warnings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28171 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-10-16 15:11:07 +00:00
parent e1e083d584
commit a0a1bf7fb0
2 changed files with 3 additions and 3 deletions
@@ -366,7 +366,7 @@ AllocationGroup::AddFreeRange(int32 start, int32 blocks)
status_t
AllocationGroup::Allocate(Transaction& transaction, uint16 start, int32 length)
{
ASSERT(start + length <= fNumBits);
ASSERT(start + length <= (int32)fNumBits);
// Update the allocation group info
// TODO: this info will be incorrect if something goes wrong later
@@ -435,7 +435,7 @@ AllocationGroup::Allocate(Transaction& transaction, uint16 start, int32 length)
status_t
AllocationGroup::Free(Transaction& transaction, uint16 start, int32 length)
{
ASSERT(start + length <= fNumBits);
ASSERT(start + length <= (int32)fNumBits);
// Update the allocation group info
// TODO: this info will be incorrect if something goes wrong later
@@ -19,7 +19,7 @@ struct check_control;
struct check_cookie;
#define DEBUG_ALLOCATION_GROUPS
//#define DEBUG_ALLOCATION_GROUPS
class BlockAllocator {