From: hackbard Date: Fri, 14 Sep 2007 21:13:21 +0000 (+0200) Subject: get rid of overflow warning X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e22999d37f2a67dbbaa296c4b2af09affe07a15;p=my-code%2Farm.git get rid of overflow warning --- diff --git a/betty/fwflash.c b/betty/fwflash.c index 85a64fa..26a68a8 100644 --- a/betty/fwflash.c +++ b/betty/fwflash.c @@ -467,7 +467,8 @@ int main(void) { uart0_send_buf16((u16 *)addr,datalen); if((addr>=BANK2)&(addr+datalen<=BANK2+BANK_SIZE)) uart0_send_buf16((u16 *)addr,datalen); - if((addr>=BOOTLOADER)&(addr+datalen<=BOOTLOADER+BL_SIZE)) + if((addr>=BOOTLOADER)& + (addr+datalen