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
Compiles in MSVC with cmake
[alexxy/gromacs.git]
/
src
/
kernel
/
xlate.c
diff --git
a/src/kernel/xlate.c
b/src/kernel/xlate.c
index 2d8910747661e58305466d4cf1c47aa8ca862542..842c55f574510774ce7e0827a07872ba1a4e5632 100644
(file)
--- a/
src/kernel/xlate.c
+++ b/
src/kernel/xlate.c
@@
-125,7
+125,7
@@
void rename_atoms(t_atoms *atoms,t_symtab *symtab,t_aa_names *aan)
strcpy(atombuf,*(atoms->atomname[a]));
if (isdigit(atombuf[0])) {
c = atombuf[0];
- for (i=0; (i<strlen(atombuf)-1); i++)
+ for (i=0; (
(size_t)
i<strlen(atombuf)-1); i++)
atombuf[i]=atombuf[i+1];
atombuf[i]=c;
}