Fix incorrectly ordered arguments to xcalloc
[pspp-builds.git] / src / language / stats / t-test-indep.c
index bc42e3270f102a1064fe0feca7a0f351b4a436f6..c80505493964775c45e9efc66d9db25899ee679f 100644 (file)
@@ -82,7 +82,7 @@ indep_run (struct tt *tt, const struct variable *gvar,
   struct ccase *c;
   struct casereader *r;
 
-  struct pair_stats *ps = xcalloc (sizeof (*ps), tt->n_vars);
+  struct pair_stats *ps = xcalloc (tt->n_vars, sizeof *ps);
 
   int v;