projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb1ca04
)
chisquare: Fix format specifier in chisquare_execute().
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 2 Jan 2019 22:39:25 +0000
(14:39 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 2 Jan 2019 22:50:14 +0000
(14:50 -0800)
Found by GCC.
Fixes: 5cab4cf3322f ("output: Introduce pivot tables.")
src/language/stats/chisquare.c
patch
|
blob
|
history
diff --git
a/src/language/stats/chisquare.c
b/src/language/stats/chisquare.c
index df540651d7541b6beb56a94cdb20408cbc57056e..ccfa484621cde48058f6d77e0b56f44f52102d55 100644
(file)
--- a/
src/language/stats/chisquare.c
+++ b/
src/language/stats/chisquare.c
@@
-169,7
+169,7
@@
chisquare_execute (const struct dataset *ds,
if (cst->n_expected > 0 && n_cells != cst->n_expected)
{
msg (ME, _("CHISQUARE test specified %d expected values, but "
- "variable %s has %
d
distinct values."),
+ "variable %s has %
zu
distinct values."),
cst->n_expected, var_get_name (var), n_cells);
freq_hmap_destroy (&freq_hash, var_get_width (var));
continue;