biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clang-tidy-11 fixes for utils
[alexxy/gromacs.git]
/
src
/
gromacs
/
utility
/
cstringutil.cpp
diff --git
a/src/gromacs/utility/cstringutil.cpp
b/src/gromacs/utility/cstringutil.cpp
index 161fb7396eecb30393f43d60d54e165c253017cb..dbefa55d97b7249761af084e4db8f2b36b691d36 100644
(file)
--- a/
src/gromacs/utility/cstringutil.cpp
+++ b/
src/gromacs/utility/cstringutil.cpp
@@
-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')
{