removed stupid type cast
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4395 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -70,7 +70,7 @@ BBlockCache::BBlockCache(uint32 blockCount,
|
|||||||
blockCount = 1;
|
blockCount = 1;
|
||||||
|
|
||||||
// create blocks and put them into the free list
|
// create blocks and put them into the free list
|
||||||
for (int32 i = 0; i < (int32)blockCount; i++) {
|
while (blockCount--) {
|
||||||
_FreeBlock *block = reinterpret_cast<_FreeBlock *>(fAlloc(blockSize));
|
_FreeBlock *block = reinterpret_cast<_FreeBlock *>(fAlloc(blockSize));
|
||||||
if (!block)
|
if (!block)
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user