@@ -290,7 +290,7 @@ static mca_btl_tcp_interface_t** mca_btl_tcp_retrieve_local_interfaces(mca_btl_t
290
290
*/
291
291
for ( idx = opal_ifbegin (); idx >= 0 ; idx = opal_ifnext (idx ) ) {
292
292
int kindex ;
293
- uint32_t index ;
293
+ uint64_t index ;
294
294
bool skip = false;
295
295
296
296
opal_ifindextoaddr (idx , (struct sockaddr * ) & local_addr , sizeof (local_addr ));
@@ -344,7 +344,7 @@ static mca_btl_tcp_interface_t** mca_btl_tcp_retrieve_local_interfaces(mca_btl_t
344
344
/* create entry for this kernel index previously not seen */
345
345
if (OPAL_SUCCESS != rc ) {
346
346
index = proc_data -> num_local_interfaces ++ ;
347
- opal_hash_table_set_value_uint32 (& proc_data -> local_kindex_to_index , kindex , & index );
347
+ opal_hash_table_set_value_uint32 (& proc_data -> local_kindex_to_index , kindex , ( void * * ) index );
348
348
349
349
if ( proc_data -> num_local_interfaces == proc_data -> max_local_interfaces ) {
350
350
proc_data -> max_local_interfaces <<= 1 ;
@@ -469,7 +469,7 @@ int mca_btl_tcp_proc_insert( mca_btl_tcp_proc_t* btl_proc,
469
469
470
470
for ( i = 0 ; i < btl_proc -> proc_addr_count ; i ++ ) {
471
471
472
- uint32_t index ;
472
+ uint64_t index ;
473
473
474
474
mca_btl_tcp_addr_t * endpoint_addr = btl_proc -> proc_addrs + i ;
475
475
@@ -479,7 +479,7 @@ int mca_btl_tcp_proc_insert( mca_btl_tcp_proc_t* btl_proc,
479
479
480
480
if (OPAL_SUCCESS != rc ) {
481
481
index = proc_data -> num_peer_interfaces ++ ;
482
- opal_hash_table_set_value_uint32 (& proc_data -> peer_kindex_to_index , endpoint_addr -> addr_ifkindex , & index );
482
+ opal_hash_table_set_value_uint32 (& proc_data -> peer_kindex_to_index , endpoint_addr -> addr_ifkindex , ( void * * ) index );
483
483
if ( proc_data -> num_peer_interfaces == max_peer_interfaces ) {
484
484
max_peer_interfaces <<= 1 ;
485
485
peer_interfaces = (mca_btl_tcp_interface_t * * )realloc ( peer_interfaces ,
0 commit comments