diff --git a/src/USER-MISC/fix_bond_react.cpp b/src/USER-MISC/fix_bond_react.cpp index 490d491191240dfc0301389011577b4140d126ad..4c16a200dad1d9c1f5c4c428b4b8e7f1871d62dc 100644 --- a/src/USER-MISC/fix_bond_react.cpp +++ b/src/USER-MISC/fix_bond_react.cpp @@ -1732,7 +1732,7 @@ void FixBondReact::ghost_glovecast() int starts[2] = {0,0}; MPI_Type_create_subarray (2, sizes, subsizes, starts, MPI_ORDER_C, MPI_LMP_TAGINT, &columnunsized); - MPI_Type_create_resized (columnunsized, 0, sizeof(MPI_LMP_TAGINT), &column); + MPI_Type_create_resized (columnunsized, 0, sizeof(tagint), &column); MPI_Type_commit(&column); if (ghostcheck_flag == 1) memory->destroy(global_mega_glove);