X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fnumeric.c;h=2a7dbe575c1dd570949d070d5f56c52a02f1c10a;hb=0d1247a98f058356ba1cf24c26f642004ba5fbc5;hp=a2b6d8047f748739a6ad1d23df118a45c8854e36;hpb=4de79b34b329d1da6cdeb145993d3efd911e2967;p=pspp-builds.git diff --git a/src/numeric.c b/src/numeric.c index a2b6d804..2a7dbe57 100644 --- a/src/numeric.c +++ b/src/numeric.c @@ -36,11 +36,11 @@ 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. */ @@ -107,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; @@ -187,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;