Apply clang-11 fixes for fileio
[alexxy/gromacs.git] / src / gromacs / fileio / confio.cpp
index 6af30e2a01c4814fa835719a87072e2db7a7aa72..5e68256a82bc727f4615a690b3f917fe40a55c4b 100644 (file)
@@ -268,7 +268,7 @@ void ChainIdFiller::fill(t_atoms* atoms, const int startAtomIndex, const int end
     {
         // We always assign a new chain number, but only assign a chain id
         // characters for larger molecules.
-        int chainIdToAssign;
+        char chainIdToAssign;
         if (endAtomIndex - startAtomIndex >= s_chainMinAtoms && !outOfIds_)
         {
             /* Set the chain id for the output */