Skip to content

Commit 3803393

Browse files
authored
Merge pull request #9597 from tkordenbrock/portals4/v5.0.x/fix-min-alignment-info-key
v5.0.x: osc-portals4: fix undefined variable error in minimum alignment info key lookup
2 parents 69e3743 + 77f1546 commit 3803393

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)