Skip to content

Commit 77f1546

Browse files
committed
osc-portals4: fix undefined variable error in minimum alignment info key lookup
osc-portals4: fix signedness warning in minimum alignment info key lookup Signed-off-by: Todd Kordenbrock <thkgcode@gmail.com> (cherry picked from commit 2a1d5aa)
1 parent f8fd37d commit 77f1546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/osc/portals4/osc_portals4_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ component_select(struct ompi_win_t *win, void **base, size_t size, int disp_unit
401401
opal_info_get(info, "mpi_minimum_memory_alignment",
402402
&align_info_str, &flag);
403403
if (flag) {
404-
ssize_t tmp_align = atoll(infoval);
404+
size_t tmp_align = atoll(align_info_str->string);
405405
OBJ_RELEASE(align_info_str);
406406
if (OPAL_ALIGN_MIN < tmp_align) {
407407
memory_alignment = tmp_align;

0 commit comments

Comments
 (0)