diff --git a/src/fix_store.cpp b/src/fix_store.cpp index b693aa94d8..85371d9e34 100644 --- a/src/fix_store.cpp +++ b/src/fix_store.cpp @@ -301,7 +301,7 @@ void FixStore::unpack_restart(int nlocal, int nth) // skip to Nth set of extra values int m = 0; - for (int i = 0; i < nth; i++) m += static_cast extra[nlocal][m]; + for (int i = 0; i < nth; i++) m += static_cast (extra[nlocal][m]); m++; if (vecflag) vstore[nlocal] = extra[nlocal][m];