[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/pfm-write.c
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] Changes to pspp/src/pfm-write.c |
Date: |
Wed, 26 Oct 2005 01:07:25 -0400 |
Index: pspp/src/pfm-write.c
diff -u pspp/src/pfm-write.c:1.18 pspp/src/pfm-write.c:1.19
--- pspp/src/pfm-write.c:1.18 Tue Oct 25 04:28:17 2005
+++ pspp/src/pfm-write.c Wed Oct 26 05:06:14 2005
@@ -129,7 +129,7 @@
w->vars = NULL;
w->var_cnt = dict_get_var_cnt (dict);
- w->vars = xmalloc (sizeof *w->vars * w->var_cnt);
+ w->vars = xnmalloc (w->var_cnt, sizeof *w->vars);
for (i = 0; i < w->var_cnt; i++)
{
const struct variable *dv = dict_get_var (dict, i);