net/netlink/af_netlink.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN net/netlink/af_netlink.c~netling-warning-fixes net/netlink/af_netlink.c
--- 25-power4/net/netlink/af_netlink.c~netling-warning-fixes	2003-09-02 22:22:50.000000000 -0700
+++ 25-power4-akpm/net/netlink/af_netlink.c	2003-09-02 22:24:24.000000000 -0700
@@ -968,7 +968,7 @@ int netlink_post(int unit, struct sk_buf
 #ifdef CONFIG_PROC_FS
 static struct sock *netlink_seq_socket_idx(struct seq_file *seq, loff_t pos)
 {
-	int i;
+	long i;
 	struct sock *s;
 	struct hlist_node *node;
 	loff_t off = 0;
@@ -1002,7 +1002,7 @@ static void *netlink_seq_next(struct seq
 		
 	s = sk_next(v);
 	if (!s) {
-		int i = (int) seq->private; 
+		long i = (long)seq->private;
 
 		while (++i < MAX_LINKS) {
 			s = sk_head(&nl_table[i]);

_