[IPX]: Correct argument type of ipxrtr_delete().
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 16 May 2006 22:07:28 +0000 (15:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 May 2006 22:07:28 +0000 (15:07 -0700)
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>
net/ipx/ipx_route.c

index 67774448efd966eb801dc822d0788e09a530be54..a394c6fe19a26839e07dbed3f7015224d03c1161 100644 (file)
@@ -119,7 +119,7 @@ out:
        return rc;
 }
 
-static int ipxrtr_delete(long net)
+static int ipxrtr_delete(__u32 net)
 {
        struct ipx_route *r, *tmp;
        int rc;