Message ID | 1424708653-25236-1-git-send-email-clg@fr.ibm.com |
---|---|
State | Accepted |
Headers | show |
diff --git a/core/flash.c b/core/flash.c index b24ceaa24870..8461d817adae 100644 --- a/core/flash.c +++ b/core/flash.c @@ -359,7 +359,7 @@ static int flash_find_subpartition(struct flash_chip *chip, uint32_t subid, struct flash_hostboot_header *header; char eyecatcher[5]; uint32_t i; - bool rc; + int rc; header = malloc(FLASH_SUBPART_HEADER_SIZE); if (!header)
sparse spotted the problem : core/flash.c:379:22: warning: odd constant _Bool cast (fffffffffffffff6 becomes 1) Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> --- core/flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)