diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-01-12 16:22:32 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-12 17:06:41 -0500 |
commit | 880b005f294454d989783d0984dc554dfe3c8214 (patch) | |
tree | d1cffd5367f0bc939ef6952f6dacd78fb8592f39 /net/tipc/port.c | |
parent | e86eaa3abc285a988524d95e867285aad5d026a7 (diff) |
[TIPC]: Fix 64-bit build warnings.
When storing u32 values in a pointer, need to do
some long casts to keep GCC happy.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/port.c')
-rw-r--r-- | net/tipc/port.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tipc/port.c b/net/tipc/port.c index bb9404661df3..66caca7abe92 100644 --- a/net/tipc/port.c +++ b/net/tipc/port.c | |||
@@ -1234,7 +1234,8 @@ int tipc_connect2port(u32 ref, struct tipc_portid const *peer) | |||
1234 | p_ptr->publ.connected = 1; | 1234 | p_ptr->publ.connected = 1; |
1235 | k_start_timer(&p_ptr->timer, p_ptr->probing_interval); | 1235 | k_start_timer(&p_ptr->timer, p_ptr->probing_interval); |
1236 | 1236 | ||
1237 | nodesub_subscribe(&p_ptr->subscription,peer->node, (void *)ref, | 1237 | nodesub_subscribe(&p_ptr->subscription,peer->node, |
1238 | (void *)(unsigned long)ref, | ||
1238 | (net_ev_handler)port_handle_node_down); | 1239 | (net_ev_handler)port_handle_node_down); |
1239 | res = TIPC_OK; | 1240 | res = TIPC_OK; |
1240 | exit: | 1241 | exit: |