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
Fix part of old-style casting
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxpreprocess
/
pgutil.cpp
diff --git
a/src/gromacs/gmxpreprocess/pgutil.cpp
b/src/gromacs/gmxpreprocess/pgutil.cpp
index 89ca70ff6ccd5e3f580426f07a9f646450743858..1dfd29551f8d698803fc4720c5af7308abd17146 100644
(file)
--- a/
src/gromacs/gmxpreprocess/pgutil.cpp
+++ b/
src/gromacs/gmxpreprocess/pgutil.cpp
@@
-120,7
+120,7
@@
int search_atom(const char *type, int start,
{
if (anm[i] && gmx_strcasecmp(type, *(anm[i])) == 0)
{
- return
(int)
i;
+ return i;
}
}
if (!(bNext && at[start].resind == at[natoms-1].resind))
@@
-140,7
+140,7
@@
int search_atom(const char *type, int start,
{
if (gmx_strcasecmp(type, *(anm[i])) == 0)
{
- return
(int)
i;
+ return i;
}
}
if (start > 0)