X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fnumeric.c;h=2a7dbe575c1dd570949d070d5f56c52a02f1c10a;hb=bcf41af107e8dffb506a506f576c6535d1b3bde7;hp=844465eb126a3425e90c43039929e5a2596b1753;hpb=4fdeb2145d081ff1b84e3f6c99f9d1c048c0d64a;p=pspp diff --git a/src/numeric.c b/src/numeric.c index 844465eb12..2a7dbe575c 100644 --- a/src/numeric.c +++ b/src/numeric.c @@ -27,17 +27,20 @@ #include "str.h" #include "var.h" +#include "gettext.h" +#define _(msgid) gettext (msgid) + #include "debug-print.h" /* Parses the NUMERIC command. */ int cmd_numeric (void) { - int i; + size_t i; /* Names of variables to create. */ char **v; - int nv; + size_t nv; /* Format spec for variables to create. f.type==-1 if default is to be used. */ @@ -104,11 +107,11 @@ fail: int cmd_string (void) { - int i; + size_t i; /* Names of variables to create. */ char **v; - int nv; + size_t nv; /* Format spec for variables to create. */ struct fmt_spec f; @@ -184,9 +187,9 @@ int cmd_leave (void) { struct variable **v; - int nv; + size_t nv; - int i; + size_t i; if (!parse_variables (default_dict, &v, &nv, PV_NONE)) return CMD_FAILURE;