summaryrefslogtreecommitdiff
path: root/lib/libnvram/nvram.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libnvram/nvram.c')
-rw-r--r--lib/libnvram/nvram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libnvram/nvram.c b/lib/libnvram/nvram.c
index 6d145d7..048c583 100644
--- a/lib/libnvram/nvram.c
+++ b/lib/libnvram/nvram.c
@@ -269,7 +269,7 @@ static uint8_t calc_partition_header_checksum(int offset)
return checksum;
}
-static int calc_used_nvram_space(void)
+static unsigned int calc_used_nvram_space(void)
{
unsigned walk, len;