Fix part of old-style casting
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / pgutil.cpp
index 89ca70ff6ccd5e3f580426f07a9f646450743858..1dfd29551f8d698803fc4720c5af7308abd17146 100644 (file)
@@ -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)