clang-tidy-11 fixes for utils
[alexxy/gromacs.git] / src / gromacs / utility / cstringutil.cpp
index 161fb7396eecb30393f43d60d54e165c253017cb..dbefa55d97b7249761af084e4db8f2b36b691d36 100644 (file)
@@ -298,7 +298,7 @@ const unsigned int gmx_string_hash_init = 5381;
 
 unsigned int gmx_string_fullhash_func(const char* s, unsigned int hash_init)
 {
-    int c = 0;
+    char c = 0;
 
     while ((c = (*s++)) != '\0')
     {