[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/rank.q
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] Changes to pspp/src/rank.q |
Date: |
Wed, 26 Oct 2005 01:07:33 -0400 |
Index: pspp/src/rank.q
diff -u pspp/src/rank.q:1.4 pspp/src/rank.q:1.5
--- pspp/src/rank.q:1.4 Mon Oct 24 02:51:31 2005
+++ pspp/src/rank.q Wed Oct 26 05:06:14 2005
@@ -224,11 +224,11 @@
int var_count = 0;
n_rank_specs++;
- rank_specs = xrealloc(rank_specs, n_rank_specs * sizeof *rank_specs);
+ rank_specs = xnrealloc(rank_specs, n_rank_specs, sizeof *rank_specs);
rank_specs[n_rank_specs - 1].rfunc = f;
rank_specs[n_rank_specs - 1].destvars =
- xcalloc(sc->crit_cnt ,sizeof (struct variable *));
+ xcalloc (sc->crit_cnt, sizeof (struct variable *));
if (lex_match_id("INTO"))
{