Skip to content

Commit 90fa8af

Browse files
committed
Use correct alignment request in mca_mpool_base_alloc.
Signed-off-by: Ben Menadue <[email protected]>
1 parent db3e25e commit 90fa8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/mpool/base/mpool_base_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void *mca_mpool_base_alloc(size_t size, opal_info_t *info, const char *hints)
7474

7575
mpool = mca_mpool_base_module_lookup (hints);
7676
if (NULL != mpool) {
77-
mem = mpool->mpool_alloc (mpool, size, 0, 0);
77+
mem = mpool->mpool_alloc (mpool, size, sizeof(void *), 0);
7878
}
7979

8080
if (NULL == mem) {

0 commit comments

Comments
 (0)