Skip to content

Commit 6429a3d

Browse files
committed
usnic: fix some compiler warnings
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
1 parent b1efec9 commit 6429a3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

opal/mca/btl/usnic/btl_usnic_cagent.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static opal_event_t ipc_event;
4747
static struct timeval ack_timeout;
4848
static opal_list_t udp_port_listeners;
4949
static opal_list_t ipc_listeners;
50-
static volatile int ipc_accepts = 0;
50+
static volatile uint32_t ipc_accepts = 0;
5151
/* JMS The pings_pending and ping_results should probably both be hash
5252
tables for more efficient lookups */
5353
static opal_list_t pings_pending;

opal/mca/btl/usnic/btl_usnic_stats.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ static void setup_mpit_pvars_enum(void)
380380

381381
/* Free the strings (mca_base_var_enum_create() strdup()'ed them
382382
into private storage, so we don't need them any more) */
383-
for (int i = 0; i < mca_btl_usnic_component.num_modules; ++i) {
383+
for (i = 0; i < mca_btl_usnic_component.num_modules; ++i) {
384384
free((char *) devices[i].string);
385385
}
386386
free(devices);

0 commit comments

Comments
 (0)