From 8754542ce074bef0984f91ce1b1cd8aff9b3d5e9 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 13 Oct 2019 20:11:32 +0200 Subject: Fixed all compiler warnings --- src/kernel/paging/ordered_array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/paging/ordered_array.c') 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++; -- cgit v1.2.3