From e8965740019376f52f78d84f7dad936bd7420744 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Fri, 14 Jan 2022 09:36:16 +0100 Subject: [PATCH] Stuff --- kernel/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/memory.c b/kernel/memory.c index a38ee8c..7da899f 100644 --- a/kernel/memory.c +++ b/kernel/memory.c @@ -78,7 +78,7 @@ int find_free(uint block_count) { for( uint lower = last_block; lower < MAX_BLOCK_COUNT - block_count; lower++ ) { bool range_is_free = check_block_range(lower, lower + block_count); - if(range_is_free) { // if range is free + if(range_is_free == true) { // if range is free lowerb = (int)lower; break; // then stop searching }