Fix part of old-style casting
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_dipoles.cpp
index 94aea2f132b8462b7878f08e35f3b4d21533ac75..b6ac920a9047d17e143a714d38eb91bd211506cb 100644 (file)
@@ -945,11 +945,11 @@ static void do_dip(const t_topology *top, int ePBC, real volume,
         snew(dipsp, gnx_tot);
 
         /* we need a dummy file for gnuplot */
-        dip3d = (FILE *)gmx_ffopen("dummy.dat", "w");
+        dip3d = gmx_ffopen("dummy.dat", "w");
         fprintf(dip3d, "%f %f %f", 0.0, 0.0, 0.0);
         gmx_ffclose(dip3d);
 
-        dip3d = (FILE *)gmx_ffopen(fndip3d, "w");
+        dip3d = gmx_ffopen(fndip3d, "w");
         try
         {
             gmx::BinaryInformationSettings settings;