diff --git a/ompi/mca/btl/gm/btl_gm_component.c b/ompi/mca/btl/gm/btl_gm_component.c index 8d600350a5..53a02c7cf0 100644 --- a/ompi/mca/btl/gm/btl_gm_component.c +++ b/ompi/mca/btl/gm/btl_gm_component.c @@ -285,7 +285,7 @@ mca_btl_gm_module_init (mca_btl_gm_module_t * btl) sizeof (mca_btl_gm_frag_eager_t), CACHE_LINE_SIZE, OBJ_CLASS (mca_btl_gm_frag_eager_t), - 1 << mca_btl_gm_component.gm_eager_frag_size) + sizeof (uintptr_t), + (1 << mca_btl_gm_component.gm_eager_frag_size) + sizeof (uintptr_t), CACHE_LINE_SIZE, btl->gm_max_send_tokens, mca_btl_gm_component.gm_free_list_max, @@ -296,7 +296,7 @@ mca_btl_gm_module_init (mca_btl_gm_module_t * btl) sizeof (mca_btl_gm_frag_max_t), CACHE_LINE_SIZE, OBJ_CLASS (mca_btl_gm_frag_max_t), - 1 << mca_btl_gm_component.gm_max_frag_size) + sizeof (uintptr_t), + (1 << mca_btl_gm_component.gm_max_frag_size) + sizeof (uintptr_t), CACHE_LINE_SIZE, btl->gm_max_recv_tokens, mca_btl_gm_component.gm_free_list_max,