Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122868
b: refs/heads/master
c: 619e803
h: refs/heads/master
v: v3
  • Loading branch information
Vegard Nossum authored and David S. Miller committed Dec 26, 2008
1 parent 3d67f22 commit 72f65ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 64ff3b938ec6782e6585a83d5459b98b0c3f6eb8
refs/heads/master: 619e803d3c1b7bcc17c45e81f309d0b9b3df2d5d
2 changes: 1 addition & 1 deletion trunk/include/net/netlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen)
*/
static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining)
{
return (remaining >= sizeof(struct nlmsghdr) &&
return (remaining >= (int) sizeof(struct nlmsghdr) &&
nlh->nlmsg_len >= sizeof(struct nlmsghdr) &&
nlh->nlmsg_len <= remaining);
}
Expand Down

0 comments on commit 72f65ec

Please sign in to comment.