gmx_conect conect, gmx_bool bTerSepChains,
bool usePqrFormat)
{
- gmx_conect_t *gc = (gmx_conect_t *)conect;
+ gmx_conect_t *gc = static_cast<gmx_conect_t *>(conect);
char resnm[6], nm[6];
int i, ii;
int resind, resnr;
void gmx_conect_dump(FILE *fp, gmx_conect conect)
{
- gmx_conect_t *gc = (gmx_conect_t *)conect;
+ gmx_conect_t *gc = static_cast<gmx_conect_t *>(conect);
int i;
for (i = 0; (i < gc->nconect); i++)
void gmx_conect_add(gmx_conect conect, int ai, int aj)
{
- gmx_conect_t *gc = (gmx_conect_t *)conect;
+ gmx_conect_t *gc = static_cast<gmx_conect_t *>(conect);
/* if (!gc->bSorted)
sort_conect(gc);*/