mirror of https://github.com/hak5/openwrt-owl.git
brcm63xx: fix warning in Redboot code
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39404owl
parent
a709f0fd9a
commit
87f8092629
|
@ -40,7 +40,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
|
|||
+ } else {
|
||||
+ for (i = 0; i < numslots; i++) {
|
||||
+ if (!strncmp(buf[i].name, "RedBoot", 8)) {
|
||||
+ fis_origin = (buf[i].flash_base & (master->size << 1) - 1);
|
||||
+ fis_origin = ((buf[i].flash_base & (master->size << 1)) - 1);
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
|
|
Loading…
Reference in New Issue