Skip to content

Commit 702f80a

Browse files
committed
Remove "signed vs. unsigned" warnings.
1 parent 737c62d commit 702f80a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

opal/mca/btl/tcp/btl_tcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ int mca_btl_tcp_add_procs( struct mca_btl_base_module_t* btl,
9494

9595
OPAL_THREAD_LOCK(&tcp_proc->proc_lock);
9696

97-
for (int j = 0 ; j < (int)tcp_proc->proc_endpoint_count ; ++j) {
97+
for (uint32_t j = 0 ; j < (int)tcp_proc->proc_endpoint_count ; ++j) {
9898
tcp_endpoint = tcp_proc->proc_endpoints[j];
9999
if (tcp_endpoint->endpoint_btl == tcp_btl) {
100100
existing_found = true;

opal/mca/btl/tcp/btl_tcp_proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ mca_btl_tcp_proc_t* mca_btl_tcp_proc_lookup(const opal_process_name_t *name)
768768
}
769769

770770
/* try adding this proc to each btl until */
771-
for (int i = 0 ; i < (int)mca_btl_tcp_component.tcp_num_btls ; ++i) {
771+
for( uint32_t i = 0; i < mca_btl_tcp_component.tcp_num_btls; ++i ) {
772772
endpoint = NULL;
773773
(void) mca_btl_tcp_add_procs (&mca_btl_tcp_component.tcp_btls[i]->super, 1, &opal_proc,
774774
&endpoint, NULL);

0 commit comments

Comments
 (0)