silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2020-07-17 14:02:18 -04:00
parent 65f9c1abf5
commit 95c215d5d3
2 changed files with 4 additions and 4 deletions

View File

@ -410,7 +410,7 @@ int PythonImpl::create_entry(char *name)
if (!format && ninput+noutput)
error->all(FLERR,"Invalid python command");
else if (format && strlen(format) != ninput+noutput)
else if (format && ((int) strlen(format) != ninput+noutput))
error->all(FLERR,"Invalid python command");
// process inputs as values or variables