P2P: Fix 32-bit compiler warnings on service discovery reference
authorJouni Malinen <j@w1.fi>
Sun, 11 Dec 2011 16:06:34 +0000 (18:06 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 11 Dec 2011 16:06:34 +0000 (18:06 +0200)
commit7165c5dc1f5fad88d0182b01b3291dc733a8a7b2
tree9d97523e07d5d0316e06c282795bc8c6d55f545d
parent5aff6fc6978c3c6337adf97a5dd795425d9de810
P2P: Fix 32-bit compiler warnings on service discovery reference

Convert core wpa_supplicant code to use u64 instead of void * for the
P2P service discovery reference. Use uintptr_t in type casts in
p2p_supplicant.c to handle the conversion without warnings.

Note: This needs to be revisited for 128-bit CPU where sizeof(void *)
could be larger than sizeof(u64).

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/dbus/dbus_new_handlers_p2p.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/p2p_supplicant.h