3/3 of old-style casting
[alexxy/gromacs.git] / src / gromacs / pulling / pull.cpp
index 9ab7626302c651c81cca2a6ee65cc7e6b7a96520..ece8811a636ad443b3e7368246da2b8d2994728a 100644 (file)
@@ -411,7 +411,7 @@ static FILE *open_pull_out(const char *fn, struct pull_t *pull,
         }
         if (nsets > 1)
         {
-            xvgr_legend(fp, nsets, (const char**)setname, oenv);
+            xvgr_legend(fp, nsets, setname, oenv);
         }
         for (int c = 0; c < nsets; c++)
         {