Work to get rid of GCC 4.0 warnings, part 1.
[pspp] / src / means.q
index 873798c6cd37784f7e4f7a44f4f1dc24268a1c8e..baad486b0cc4edd172f0ab1e1bccaf13444e0753 100644 (file)
 #include "error.h"
 #include "magic.h"
 #include "var.h"
+
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
+
 /* (headers) */
 
 #include "debug-print.h"
@@ -49,7 +53,7 @@
 
 /* TABLES: Variable lists for each dimension. */
 int n_dim;             /* Number of dimensions. */
-int *nv_dim;           /* Number of variables in each dimension. */
+size_t *nv_dim;                /* Number of variables in each dimension. */
 struct variable ***v_dim;      /* Variables in each dimension.  */
 
 /* VARIABLES: List of variables. */
@@ -141,7 +145,7 @@ mns_custom_tables (struct cmd_means *cmd)
 
   do
     {
-      int nvl;
+      size_t nvl;
       struct variable **vl;
 
       if (!parse_var_set_vars (var_set, &vl, &nvl,