Fix misc. warnings (#1076)

This commit is contained in:
Daniel Schwen
2018-08-24 13:09:36 -06:00
parent 92a4dc25b1
commit 38a998c03c
28 changed files with 63 additions and 95 deletions

View File

@ -1515,7 +1515,7 @@ 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 %ld %ld",lmp->atom->natoms,natoms_prev+n);
"invalid total atoms " BIGINT_FORMAT " %lld",lmp->atom->natoms,natoms_prev+n);
if (lmp->comm->me == 0)
lmp->error->warning(FLERR,str);
}