diff --git a/src/fix_bond_history.cpp b/src/fix_bond_history.cpp index 67489e6402..a0af563b3b 100644 --- a/src/fix_bond_history.cpp +++ b/src/fix_bond_history.cpp @@ -251,7 +251,7 @@ void FixBondHistory::post_neighbor() double FixBondHistory::memory_usage() { - return maxbond * ndata * sizeof(double); + return (double) maxbond * ndata * sizeof(double); } /* ---------------------------------------------------------------------- */