Skip to content

Commit 8dbd9b8

Browse files
authored
Merge pull request #8726 from hppritcha/topic/swat_ugni_btl_warning
btl/ugni: swat a compiler warning
2 parents 16968c6 + 3b7185d commit 8dbd9b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opal/mca/btl/ugni/btl_ugni_init.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
* Copyright (c) 2014 Research Organization for Information Science
88
* and Technology (RIST). All rights reserved.
99
* Copyright (c) 2021 Nanook Consulting. All rights reserved.
10+
* Copyright (c) 2021 Triad National Security, LLC. All rights
11+
* reserved.
1012
* $COPYRIGHT$
1113
*
1214
* Additional copyrights may follow
@@ -242,7 +244,7 @@ int mca_btl_ugni_init(void)
242244
FILE *fh;
243245

244246
if (0 == mca_btl_ugni_component.virtual_device_count) {
245-
int core_count;
247+
uint32_t core_count;
246248

247249
(void) opal_hwloc_base_get_topology();
248250
core_count = hwloc_get_nbobjs_by_type(opal_hwloc_topology, HWLOC_OBJ_CORE);

0 commit comments

Comments
 (0)