diff options
author | Marvin Borner | 2019-10-13 20:11:32 +0200 |
---|---|---|
committer | Marvin Borner | 2019-10-13 20:11:32 +0200 |
commit | 8754542ce074bef0984f91ce1b1cd8aff9b3d5e9 (patch) | |
tree | 66c6df9f2a2e9e4482ddfbce10490f706f78da33 /src/kernel/paging/ordered_array.c | |
parent | 58804851fc49f6db1c87f791d39779766108efb0 (diff) |
Fixed all compiler warnings
Diffstat (limited to 'src/kernel/paging/ordered_array.c')
-rw-r--r-- | src/kernel/paging/ordered_array.c | 2 |
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++; |