Skip to content

Commit 4f6127e

Browse files
authored
Merge pull request #9587 from tkordenbrock/portals4/master/fix-min-alignment-info-key
master: osc-portals4: fix undefined variable error in minimum alignment info key lookup
2 parents 32c19b5 + 2a1d5aa commit 4f6127e

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)