warning: mismatched types on a variable
This commit is contained in:
parent
fd1086b408
commit
577d6c97ec
@ -31,7 +31,7 @@ void *alloc_frames(size_t size)
|
||||
kprintf(KERN_CRIT "Not enough frames (max: %d)\n", MAX_FRAMES);
|
||||
return NULL;
|
||||
}
|
||||
size_t i = find_next_block(nb_frames);
|
||||
int i = find_next_block(nb_frames);
|
||||
if (i == -1) {
|
||||
kprintf(KERN_WARNING "Not enough frames available\n",
|
||||
MAX_FRAMES);
|
||||
|
Loading…
Reference in New Issue
Block a user