Begin to debug ... all of this stuff :)

This commit is contained in:
Vitaliy Filippov
2019-11-16 02:32:29 +03:00
parent da2fe69879
commit eec1c35ea4
13 changed files with 89 additions and 66 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ allocator *allocator_create(uint64_t blocks)
buf->last_one_mask = (blocks % 64) == 0
? UINT64_MAX
: ~(UINT64_MAX << (64 - blocks % 64));
for (uint64_t i = 0; i < blocks; i++)
for (uint64_t i = 0; i < total; i++)
{
buf->mask[i] = 0;
}