aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-12-03 01:12:04 -0500
committerDavid S. Miller <davem@davemloft.net>2009-12-03 01:12:04 -0500
commitf9a2e69e8bb77fe6c8e7da6380ebd4330c00a29e (patch)
treebce6a7a5ea458ab8444271270ba181ace643d0d9 /net/ipv4/tcp_output.c
parent91e2ff3528ac90b9dbcb04b76488e8ad74e3d3d9 (diff)
tcp: Fix warning on 64-bit.
net/ipv4/tcp_output.c: In function ‘tcp_make_synack’: net/ipv4/tcp_output.c:2488: warning: cast from pointer to integer of different size Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r--net/ipv4/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 2ac8beff4d77..c08e06d44428 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -2485,7 +2485,7 @@ struct sk_buff *tcp_make_synack(struct sock *sk, struct dst_entry *dst,
2485 2485
2486 /* recommended */ 2486 /* recommended */
2487 *tail-- ^= ((th->dest << 16) | th->source); 2487 *tail-- ^= ((th->dest << 16) | th->source);
2488 *tail-- ^= (u32)cvp; /* per sockopt */ 2488 *tail-- ^= (u32)(unsigned long)cvp; /* per sockopt */
2489 2489
2490 sha_transform((__u32 *)&xvp->cookie_bakery[0], 2490 sha_transform((__u32 *)&xvp->cookie_bakery[0],
2491 (char *)mess, 2491 (char *)mess,