* them against the on-disk bitmap.
*/
for (bit = 0; bit < gTotalBits; bit += kBitsPerSegment) {
- (void) GetSegmentBitmap(bit, &buffer, kTestingBits);
+ (void) GetSegmentBitmap((UInt32)bit, &buffer, kTestingBits);
/*
* When we cross file block boundries read a new block from disk.
BMS_Node *nodePool;
short i;
- if (gBMS_PoolCount > kBMS_PoolMax)
+ if (gBMS_PoolCount >= kBMS_PoolMax)
return;
nodePool = (BMS_Node *)malloc(sizeof(BMS_Node) * kBMS_NodesPerPool);