summaryrefslogtreecommitdiffstats
path: root/net/tipc/port.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-01-12 13:22:32 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-01-12 14:06:41 -0800
commit880b005f294454d989783d0984dc554dfe3c8214 (patch)
treed1cffd5367f0bc939ef6952f6dacd78fb8592f39 /net/tipc/port.c
parente86eaa3abc285a988524d95e867285aad5d026a7 (diff)
downloadop-kernel-dev-880b005f294454d989783d0984dc554dfe3c8214.zip
op-kernel-dev-880b005f294454d989783d0984dc554dfe3c8214.tar.gz
[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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tipc/port.c b/net/tipc/port.c
index bb94046..66caca7 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)
p_ptr->publ.connected = 1;
k_start_timer(&p_ptr->timer, p_ptr->probing_interval);
- nodesub_subscribe(&p_ptr->subscription,peer->node, (void *)ref,
+ nodesub_subscribe(&p_ptr->subscription,peer->node,
+ (void *)(unsigned long)ref,
(net_ev_handler)port_handle_node_down);
res = TIPC_OK;
exit:
OpenPOWER on IntegriCloud