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