diff options
Diffstat (limited to 'net/decnet/dn_rules.c')
-rw-r--r-- | net/decnet/dn_rules.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/decnet/dn_rules.c b/net/decnet/dn_rules.c index 7399e3d51922..e65f2c856e06 100644 --- a/net/decnet/dn_rules.c +++ b/net/decnet/dn_rules.c | |||
@@ -177,11 +177,11 @@ static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, | |||
177 | return 1; | 177 | return 1; |
178 | } | 178 | } |
179 | 179 | ||
180 | unsigned dnet_addr_type(__le16 addr) | 180 | unsigned int dnet_addr_type(__le16 addr) |
181 | { | 181 | { |
182 | struct flowidn fld = { .daddr = addr }; | 182 | struct flowidn fld = { .daddr = addr }; |
183 | struct dn_fib_res res; | 183 | struct dn_fib_res res; |
184 | unsigned ret = RTN_UNICAST; | 184 | unsigned int ret = RTN_UNICAST; |
185 | struct dn_fib_table *tb = dn_fib_get_table(RT_TABLE_LOCAL, 0); | 185 | struct dn_fib_table *tb = dn_fib_get_table(RT_TABLE_LOCAL, 0); |
186 | 186 | ||
187 | res.r = NULL; | 187 | res.r = NULL; |