Skip to content

Commit

Permalink
[IPX]: Correct argument type of ipxrtr_delete().
Browse files Browse the repository at this point in the history
A single caller passes __u32. Inside function "net" is compared with
__u32 (__be32 really, just wasn't annotated).

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed May 16, 2006
1 parent 338f756 commit 53d42f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipx/ipx_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ static int ipxrtr_create(struct ipx_route_definition *rd)
return rc;
}

static int ipxrtr_delete(long net)
static int ipxrtr_delete(__u32 net)
{
struct ipx_route *r, *tmp;
int rc;
Expand Down

0 comments on commit 53d42f5

Please sign in to comment.