projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d331e87
)
FACTOR: Fix warning about discarding const qualifier.
20120731000506/pspp
author
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 31 Jul 2012 06:16:39 +0000
(23:16 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 31 Jul 2012 06:16:39 +0000
(23:16 -0700)
src/language/stats/factor.c
patch
|
blob
|
history
diff --git
a/src/language/stats/factor.c
b/src/language/stats/factor.c
index 568eb4d0d390c71506fec2f1fe71925e6bdae523..36a49d31b7384ffa2afc2d81e2883972e3d4027a 100644
(file)
--- a/
src/language/stats/factor.c
+++ b/
src/language/stats/factor.c
@@
-35,6
+35,7
@@
#include "language/lexer/lexer.h"
#include "language/lexer/value-parser.h"
#include "language/lexer/variable-parser.h"
+#include "libpspp/cast.h"
#include "libpspp/message.h"
#include "libpspp/misc.h"
#include "math/correlation.h"
@@
-206,7
+207,7
@@
idata_free (struct idata *id)
if (id->cov != NULL)
gsl_matrix_free (id->cov);
if (id->corr != NULL)
- gsl_matrix_free (
id->corr
);
+ gsl_matrix_free (
CONST_CAST (gsl_matrix *, id->corr)
);
free (id);
}