Fix part of old-style casting
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_cluster.cpp
index f95a299f9df782f05085166c6301a4e3be244b96..20df5cf59224e6510c8baad03505a88213f7fda8 100644 (file)
@@ -795,8 +795,8 @@ static rvec **read_whole_trj(const char *fn, int isize, const int index[], int s
         i++;
     }
     while (read_next_x(oenv, status, &t, x, box));
-    fprintf(stderr, "Allocated %lu bytes for frames\n",
-            (unsigned long) (max_nf*isize*sizeof(**xx)));
+    fprintf(stderr, "Allocated %zu bytes for frames\n",
+            (max_nf*isize*sizeof(**xx)));
     fprintf(stderr, "Read %d frames from trajectory %s\n", i0, fn);
     *nframe = i0;
     sfree(x);