squash some more compiler warnings
This commit is contained in:
@ -412,7 +412,7 @@ void FixTMD::readfile(char *file)
|
|||||||
m++;
|
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(&nlines,1,MPI_INT,0,world);
|
||||||
MPI_Bcast(&m,1,MPI_INT,0,world);
|
MPI_Bcast(&m,1,MPI_INT,0,world);
|
||||||
MPI_Bcast(buffer,m,MPI_CHAR,0,world);
|
MPI_Bcast(buffer,m,MPI_CHAR,0,world);
|
||||||
|
|||||||
@ -1515,7 +1515,8 @@ void lammps_create_atoms(void *ptr, int n, tagint *id, int *type,
|
|||||||
if (lmp->atom->natoms != natoms_prev + n) {
|
if (lmp->atom->natoms != natoms_prev + n) {
|
||||||
char str[128];
|
char str[128];
|
||||||
sprintf(str,"Library warning in lammps_create_atoms, "
|
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)
|
if (lmp->comm->me == 0)
|
||||||
lmp->error->warning(FLERR,str);
|
lmp->error->warning(FLERR,str);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user