Convert gmx_residuetype_t to a non-pointer
[alexxy/gromacs.git] / src / gromacs / topology / index.cpp
index d0afa4658f67603542ad3c573dd930523bf209df..9524f65e7b7a2a4512363d7f6d2b7e938eb5a2f0 100644 (file)
@@ -577,7 +577,7 @@ static void analyse_prot(const char ** restype, t_atoms *atoms,
 
 void analyse(t_atoms *atoms, t_blocka *gb, char ***gn, gmx_bool bASK, gmx_bool bVerb)
 {
-    gmx_residuetype_t rt = NULL;
+    gmx_residuetype_t*rt = NULL;
     char             *resnm;
     atom_id          *aid;
     const char    **  restype;