diff options
author | Thomas Huth <thuth@redhat.com> | 2021-10-01 09:10:10 +0200 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2021-10-06 13:27:09 +1100 |
commit | 81d932ca1f15896716db4270acb05e3679d80fe4 (patch) | |
tree | 1bcde338e911a3c225bd8e66fa91c6a084439f14 /lib/libnvram/nvram.c | |
parent | 0705a5cc1df7ad6bd3c2a7dfb1faccd3b44269c1 (diff) | |
download | SLOF-81d932ca1f15896716db4270acb05e3679d80fe4.zip SLOF-81d932ca1f15896716db4270acb05e3679d80fe4.tar.gz SLOF-81d932ca1f15896716db4270acb05e3679d80fe4.tar.bz2 |
Silence some trivial compiler warning in the js2x code
We enabled additional compiler warnings in commit 26d8ba170355c9, but
so far we did not address the additional warnings in the js2x code
yet. This patch fixes at least some of the trivial warnings there.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib/libnvram/nvram.c')
-rw-r--r-- | lib/libnvram/nvram.c | 2 |
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; |