Revert size to be unsigned for ArrayRef
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_densorder.cpp
index 2518095ca8e5529f74acfa0a6a162feb35161384..61803865554e8f803b38c24eb3178ca7ce1eb1c0 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2010,2011,2012,2013,2014,2015,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,2012,2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -775,7 +775,7 @@ int gmx_densorder(int argc, char *argv[])
         gmx::ArrayRef<const std::string> graphFiles = opt2fns("-og", NFILE, fnm);
         if (graphFiles.size() != 2)
         {
-            gmx_fatal(FARGS, "No or not correct number (2) of output-files: %td", graphFiles.size());
+            gmx_fatal(FARGS, "No or not correct number (2) of output-files: %td", graphFiles.ssize());
         }
         writesurftoxpms(surf1, surf2, tblock, xslices, yslices, zslices, binw, binwz, graphFiles, zslices);
     }
@@ -790,7 +790,7 @@ int gmx_densorder(int argc, char *argv[])
         gmx::ArrayRef<const std::string> rawFiles = opt2fns("-or", NFILE, fnm);
         if (rawFiles.size() != 2)
         {
-            gmx_fatal(FARGS, "No or not correct number (2) of output-files: %td", rawFiles.size());
+            gmx_fatal(FARGS, "No or not correct number (2) of output-files: %td", rawFiles.ssize());
         }
         writeraw(surf1, surf2, tblock, xslices, yslices, rawFiles, oenv);
     }
@@ -803,7 +803,7 @@ int gmx_densorder(int argc, char *argv[])
         if (spectra.size() != 2)
         {
             gmx_fatal(FARGS, "No or not correct number (2) of output-file-series: %td",
-                      spectra.size());
+                      spectra.ssize());
         }
         powerspectavg_intf(surf1, surf2, tblock, xslices, yslices, spectra);
     }