kernel/allocator: Adjust type of index variable.
This commit is contained in:
@@ -165,7 +165,7 @@ block_free(void* block, uint32 flags)
|
|||||||
void
|
void
|
||||||
block_allocator_init_boot()
|
block_allocator_init_boot()
|
||||||
{
|
{
|
||||||
for (int index = 0; index < kNumBlockSizes; index++) {
|
for (size_t index = 0; index < kNumBlockSizes; index++) {
|
||||||
char name[32];
|
char name[32];
|
||||||
snprintf(name, sizeof(name), "block allocator: %lu",
|
snprintf(name, sizeof(name), "block allocator: %lu",
|
||||||
kBlockSizes[index]);
|
kBlockSizes[index]);
|
||||||
|
|||||||
Reference in New Issue
Block a user