projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed some calls to xcalloc where the quantity and size parameters had been transposed.
[pspp]
/
src
/
ui
/
gui
/
psppire-import-assistant.c
diff --git
a/src/ui/gui/psppire-import-assistant.c
b/src/ui/gui/psppire-import-assistant.c
index ed8df0c9bc25a1362fae6e576bd9fb416ab73c08..88074bc7b7d5e6625ab5aac75235eeaa8382fe1d 100644
(file)
--- a/
src/ui/gui/psppire-import-assistant.c
+++ b/
src/ui/gui/psppire-import-assistant.c
@@
-1241,7
+1241,7
@@
textfile_create_reader (PsppireImportAssistant *ia)
int i;
- struct fmt_guesser **fg = xcalloc (
sizeof *fg, n_vars
);
+ struct fmt_guesser **fg = xcalloc (
n_vars, sizeof *fg
);
for (i = 0 ; i < n_vars; ++i)
{
fg[i] = fmt_guesser_create ();