Unverified Commit 27b4e93b authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

silence compiler warnings

parent 741a1d1f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
+1 −1
Original line number Diff line number Diff line
@@ -320,7 +320,7 @@ void ReaderNative::read_atoms(int n, int nfield, double **fields)
    // tokenize the line
    std::vector<std::string> words = Tokenizer(line).as_vector();

    if (words.size() < nwords) error->one(FLERR,"Insufficient columns in dump file");
    if ((int)words.size() < nwords) error->one(FLERR,"Insufficient columns in dump file");

    // convert selected fields to floats