Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109813
b: refs/heads/master
c: d58b622
h: refs/heads/master
i:
  109811: e15e1f3
v: v3
  • Loading branch information
David S. Miller committed Sep 12, 2008
1 parent 23504d9 commit 821e411
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: 7c6a329e444725f24c02192ac493d8a7cd9fa638
refs/heads/master: d58b622b5de9747c82fcc3548f3ec87a02c24dce
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 821e411

Please sign in to comment.