Commit 054abe28 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

squash some more compiler warnings

parent 447a6c33
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -412,7 +412,7 @@ void FixTMD::readfile(char *file)
      m++;
    }

    MPI_Bcast(&eof,sizeof(char *)/sizeof(char),MPI_CHAR,0,world);
    MPI_Bcast(&eof,sizeof(char *),MPI_CHAR,0,world);
    MPI_Bcast(&nlines,1,MPI_INT,0,world);
    MPI_Bcast(&m,1,MPI_INT,0,world);
    MPI_Bcast(buffer,m,MPI_CHAR,0,world);
+2 −1
Original line number Diff line number Diff line
@@ -1515,7 +1515,8 @@ void lammps_create_atoms(void *ptr, int n, tagint *id, int *type,
    if (lmp->atom->natoms != natoms_prev + n) {
      char str[128];
      sprintf(str,"Library warning in lammps_create_atoms, "
              "invalid total atoms " BIGINT_FORMAT " %lld",lmp->atom->natoms,natoms_prev+n);
              "invalid total atoms " BIGINT_FORMAT " " BIGINT_FORMAT,
              lmp->atom->natoms,natoms_prev+n);
      if (lmp->comm->me == 0)
        lmp->error->warning(FLERR,str);
    }