projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f254776
)
ONEWAY: Fix warning for passing "const" pointer as non-const parameter.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 12 Dec 2010 05:13:03 +0000
(21:13 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 12 Dec 2010 06:10:45 +0000
(22:10 -0800)
src/language/stats/oneway.c
patch
|
blob
|
history
diff --git
a/src/language/stats/oneway.c
b/src/language/stats/oneway.c
index 908da803c4bc389cf2dffa891dbbb3e5ee37f2fb..f390a3c8aa5a3a420bb9c0cf0c207013f70f6e12 100644
(file)
--- a/
src/language/stats/oneway.c
+++ b/
src/language/stats/oneway.c
@@
-392,11
+392,11
@@
run_oneway (const struct oneway_spec *cmd,
for (v = 0; v < cmd->n_vars; ++v)
{
- ws.vws[v].cat = categoricals_create (&cmd->indep_var, 1,
- cmd->wv, cmd->exclude,
-
makeit
,
-
updateit
,
-
cmd->vars[v],
ws.dd_total[v]);
+ ws.vws[v].cat = categoricals_create (&cmd->indep_var, 1,
cmd->wv,
+ cmd->exclude, makeit, updateit,
+
CONST_CAST (struct variable *
,
+
cmd->vars[v])
,
+ ws.dd_total[v]);
ws.vws[v].cov = covariance_2pass_create (1, &cmd->vars[v],
ws.vws[v].cat,