fix a signed/unsigned compare
This commit is contained in:
parent
8f5bfa2de0
commit
efae5a79cd
|
@ -264,7 +264,7 @@ ProcessInterfaceWatchNotify(int s)
|
||||||
}
|
}
|
||||||
|
|
||||||
for (nlhdr = (struct nlmsghdr *) buffer;
|
for (nlhdr = (struct nlmsghdr *) buffer;
|
||||||
NLMSG_OK (nlhdr, len);
|
NLMSG_OK (nlhdr, (unsigned int)len);
|
||||||
nlhdr = NLMSG_NEXT (nlhdr, len))
|
nlhdr = NLMSG_NEXT (nlhdr, len))
|
||||||
{
|
{
|
||||||
if (nlhdr->nlmsg_type == NLMSG_DONE)
|
if (nlhdr->nlmsg_type == NLMSG_DONE)
|
||||||
|
|
Loading…
Reference in New Issue