aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/paging/ordered_array.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/paging/ordered_array.c')
-rw-r--r--src/kernel/paging/ordered_array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/paging/ordered_array.c b/src/kernel/paging/ordered_array.c
index 563a936..688ff8f 100644
--- a/src/kernel/paging/ordered_array.c
+++ b/src/kernel/paging/ordered_array.c
@@ -33,7 +33,7 @@ void destroy_ordered_array(ordered_array_t *array) {
}
void insert_ordered_array(type_t item, ordered_array_t *array) {
- assert(array->less_than);
+ assert((int) array->less_than);
uint32_t iterator = 0;
while (iterator < array->size && array->less_than(array->array[iterator], item))
iterator++;