fix a signed/unsigned compare

This commit is contained in:
Thomas Bernard 2012-05-24 18:22:59 +02:00
parent 8f5bfa2de0
commit efae5a79cd
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ ProcessInterfaceWatchNotify(int s)
}
for (nlhdr = (struct nlmsghdr *) buffer;
NLMSG_OK (nlhdr, len);
NLMSG_OK (nlhdr, (unsigned int)len);
nlhdr = NLMSG_NEXT (nlhdr, len))
{
if (nlhdr->nlmsg_type == NLMSG_DONE)