summaryrefslogtreecommitdiff
path: root/src/lib/fit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/fit.c')
-rw-r--r--src/lib/fit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/fit.c b/src/lib/fit.c
index f1052e8f23..831e5180f0 100644
--- a/src/lib/fit.c
+++ b/src/lib/fit.c
@@ -261,12 +261,12 @@ static void update_reserve_map(uint64_t start, uint64_t end,
}
struct entry_params {
- unsigned addr_cells;
- unsigned size_cells;
+ unsigned int addr_cells;
+ unsigned int size_cells;
void *data;
};
-static uint64_t max_range(unsigned size_cells)
+static uint64_t max_range(unsigned int size_cells)
{
/*
* Split up ranges who's sizes are too large to fit in #size-cells.