diff options
author | Skylar Chang <chiaweic@codeaurora.org> | 2016-03-13 23:59:26 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-03-31 15:55:55 -0700 |
commit | 9281509be530c1dead02f51f0e21030536d4a8d0 (patch) | |
tree | 21acd91d3c231d759f52a34a12f5633db7455ca7 /ipacm/src/IPACM_Wlan.cpp | |
parent | de812b4a9bc8e8ebd9490a615eec681f57ecf470 (diff) | |
download | ipacfg-mgr-9281509be530c1dead02f51f0e21030536d4a8d0.tar.gz |
IPACM: add support for CLANG compile
Add support for CLANG compile
Change-Id: Iced5974844c2ca8d7be7c97e261e4516de3669e6
Diffstat (limited to 'ipacm/src/IPACM_Wlan.cpp')
-rw-r--r-- | ipacm/src/IPACM_Wlan.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ipacm/src/IPACM_Wlan.cpp b/ipacm/src/IPACM_Wlan.cpp index bb70724..f933a69 100644 --- a/ipacm/src/IPACM_Wlan.cpp +++ b/ipacm/src/IPACM_Wlan.cpp @@ -4737,27 +4737,27 @@ int IPACM_Wlan::eth_bridge_del_wlan_client_rt_rule(uint8_t* mac, eth_bridge_src_ eth_bridge_client_rt_info* IPACM_Wlan::eth_bridge_get_client_rt_info_ptr(uint8_t index, eth_bridge_src_iface src, ipa_ip_type iptype) { - void* result; + char* result; if(src == SRC_WLAN) { if(iptype == IPA_IP_v4) { - result = (void*)((void*)eth_bridge_wlan_client_rt_from_wlan_info_v4 + index * client_rt_info_size_v4); + result = (char *)eth_bridge_wlan_client_rt_from_wlan_info_v4 + index * client_rt_info_size_v4; } else { - result = (void*)((void*)eth_bridge_wlan_client_rt_from_wlan_info_v6 + index * client_rt_info_size_v6); + result = (char *)eth_bridge_wlan_client_rt_from_wlan_info_v6 + index * client_rt_info_size_v6; } } else { if(iptype == IPA_IP_v4) { - result = (void*)((void*)eth_bridge_wlan_client_rt_from_lan_info_v4 + index * client_rt_info_size_v4); + result = (char *)eth_bridge_wlan_client_rt_from_lan_info_v4 + index * client_rt_info_size_v4; } else { - result = (void*)((void*)eth_bridge_wlan_client_rt_from_lan_info_v6 + index * client_rt_info_size_v6); + result = (char *)eth_bridge_wlan_client_rt_from_lan_info_v6 + index * client_rt_info_size_v6; } } return (eth_bridge_client_rt_info*)result; |