[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/oneway.q
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] Changes to pspp/src/oneway.q |
Date: |
Sun, 23 Oct 2005 22:52:10 -0400 |
Index: pspp/src/oneway.q
diff -u pspp/src/oneway.q:1.21 pspp/src/oneway.q:1.22
--- pspp/src/oneway.q:1.21 Sun Aug 7 04:39:28 2005
+++ pspp/src/oneway.q Mon Oct 24 02:51:32 2005
@@ -71,7 +71,7 @@
static struct variable *indep_var;
/* Number of dependent variables */
-static int n_vars;
+static size_t n_vars;
/* The dependent variables */
static struct variable **vars;
@@ -154,8 +154,7 @@
void
output_oneway(void)
{
-
- int i;
+ size_t i;
short *bad_contrast ;
bad_contrast = xmalloc ( sizeof (short) * cmd.sbc_contrast );
@@ -258,9 +257,9 @@
static void
show_anova_table(void)
{
- int i;
+ size_t i;
int n_cols =7;
- int n_rows = n_vars * 3 + 1;
+ size_t n_rows = n_vars * 3 + 1;
struct tab_table *t;
@@ -364,7 +363,7 @@
static void
show_descriptives(void)
{
- int v;
+ size_t v;
int n_cols =10;
struct tab_table *t;
int row;
@@ -511,9 +510,9 @@
static void
show_homogeneity(void)
{
- int v;
+ size_t v;
int n_cols = 5;
- int n_rows = n_vars + 1;
+ size_t n_rows = n_vars + 1;
struct tab_table *t;
@@ -650,9 +649,9 @@
static void
show_contrast_tests(short *bad_contrast)
{
- int v;
+ size_t v;
int n_cols = 8;
- int n_rows = 1 + n_vars * 2 * cmd.sbc_contrast;
+ size_t n_rows = 1 + n_vars * 2 * cmd.sbc_contrast;
struct tab_table *t;
@@ -857,7 +856,7 @@
static void
precalc ( struct cmd_oneway *cmd UNUSED )
{
- int i=0;
+ size_t i=0;
for(i=0; i< n_vars ; ++i)
{
@@ -905,7 +904,7 @@
casereader_read (r, &c) ;
case_destroy (&c))
{
- int i;
+ size_t i;
const double weight =
dict_get_case_weight(default_dict,&c,&bad_weight_warn);
@@ -1016,7 +1015,7 @@
void
postcalc ( struct cmd_oneway *cmd UNUSED )
{
- int i=0;
+ size_t i=0;
for(i = 0; i < n_vars ; ++i)
- [Pspp-cvs] Changes to pspp/src/oneway.q,
Ben Pfaff <=