[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/sort-prs.c
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] Changes to pspp/src/sort-prs.c |
Date: |
Wed, 26 Oct 2005 01:07:48 -0400 |
Index: pspp/src/sort-prs.c
diff -u pspp/src/sort-prs.c:1.3 pspp/src/sort-prs.c:1.4
--- pspp/src/sort-prs.c:1.3 Mon Oct 24 02:51:31 2005
+++ pspp/src/sort-prs.c Wed Oct 26 05:06:14 2005
@@ -105,8 +105,8 @@
else
direction = SRT_ASCEND;
- criteria->crits = xrealloc (criteria->crits,
- sizeof *criteria->crits * *var_cnt);
+ criteria->crits = xnrealloc (criteria->crits,
+ *var_cnt, sizeof *criteria->crits);
criteria->crit_cnt = *var_cnt;
for (; prev_var_cnt < criteria->crit_cnt; prev_var_cnt++)
{