From afe0e18113b91fa194c717a16523509f656598d1 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sat, 25 Dec 2021 13:49:56 +0100 Subject: [PATCH] mkamsboot: Fix a warning. Change-Id: Ie16176226bf23a19e51abd6e9ae94244701872db --- utils/mkamsboot/mkamsboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/mkamsboot/mkamsboot.c b/utils/mkamsboot/mkamsboot.c index 09eb15ee43..d7660793f0 100644 --- a/utils/mkamsboot/mkamsboot.c +++ b/utils/mkamsboot/mkamsboot.c @@ -552,7 +552,7 @@ int check_sizes(int model, int rb_packed_size, int rb_unpacked_size, { /* XXX: we keep the first 0x200 bytes block unmodified, we just replace * the ARM vectors */ - unsigned int packed_size = ams_identity[model].bootloader_size + sizeof(nrv2e_d8) + + int packed_size = ams_identity[model].bootloader_size + sizeof(nrv2e_d8) + of_packed_size + rb_packed_size + 0x200; /* how much memory is available */