Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109811
b: refs/heads/master
c: 1045b03
h: refs/heads/master
i:
  109809: 7dc046b
  109807: eedee3b
v: v3
  • Loading branch information
Vegard Nossum authored and David S. Miller committed Sep 12, 2008
1 parent d4b0922 commit e15e1f3
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: 69da6b87fcb270f758fe75141c32e041f8db510c
refs/heads/master: 1045b03e07d85f3545118510a587035536030c1c
2 changes: 1 addition & 1 deletion trunk/include/net/netlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ static inline int nla_len(const struct nlattr *nla)
*/
static inline int nla_ok(const struct nlattr *nla, int remaining)
{
return remaining >= sizeof(*nla) &&
return remaining >= (int) sizeof(*nla) &&
nla->nla_len >= sizeof(*nla) &&
nla->nla_len <= remaining;
}
Expand Down

0 comments on commit e15e1f3

Please sign in to comment.