mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 14:10:43 +00:00
tools: kwboot: Fix comparison of integers with different size
The compiler complains that we are comparing int with size_t when compiled with -W. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
c5d666aab3
commit
d8cc851dd1
1 changed files with 1 additions and 2 deletions
|
@ -352,8 +352,7 @@ kwboot_xm_makeblock(struct kwboot_block *block, const void *data,
|
|||
size_t size, int pnum)
|
||||
{
|
||||
const size_t blksz = sizeof(block->data);
|
||||
size_t n;
|
||||
int i;
|
||||
size_t i, n;
|
||||
|
||||
block->soh = SOH;
|
||||
block->pnum = pnum;
|
||||
|
|
Loading…
Reference in a new issue