net: fix openwrt posix interface build warning
This commit is contained in:
parent
a85f61b8a6
commit
47b59eb920
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ int net_if_list(net_ifaddr_h *ifh, void *arg)
|
|||
}
|
||||
|
||||
for (ifr = ifc.ifc_req;
|
||||
(char *)ifr < (ifc.ifc_buf + ifc.ifc_len);
|
||||
(char *)ifr < ((char *)ifc.ifc_buf + ifc.ifc_len);
|
||||
++ifr) {
|
||||
struct ifreq ifrr;
|
||||
struct sa sa;
|
||||
|
|
Loading…
Add table
Reference in a new issue