silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2020-08-29 18:32:21 -04:00
parent 741a1d1fc9
commit 27b4e93bf5
2 changed files with 2 additions and 2 deletions

View File

@ -773,7 +773,7 @@ void Molecule::fragments(char *line)
ValueTokenizer values(line);
if (values.count() > natoms+1)
if ((int)values.count() > natoms+1)
error->one(FLERR,"Invalid atom ID in Fragments section of molecule file");
fragmentnames[i] = values.next_string();