projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Greatly simplify PSPP configuration.
[pspp]
/
src
/
data
/
dictionary.c
diff --git
a/src/data/dictionary.c
b/src/data/dictionary.c
index ab653d874193a46d1f9a83a03f1e15ac4e09e7a6..1ddf5575aa68c4877f77fea845d3b4e6ea567ccc 100644
(file)
--- a/
src/data/dictionary.c
+++ b/
src/data/dictionary.c
@@
-1016,7
+1016,7
@@
dict_set_case_limit (struct dictionary *d, casenumber case_limit)
const struct caseproto *
dict_get_proto (const struct dictionary *d_)
{
const struct caseproto *
dict_get_proto (const struct dictionary *d_)
{
- struct dictionary *d =
(struct dictionary *) d_
;
+ struct dictionary *d =
CONST_CAST (struct dictionary *, d_)
;
if (d->proto == NULL)
{
size_t i;
if (d->proto == NULL)
{
size_t i;
@@
-1375,7
+1375,7
@@
dict_clear_vectors (struct dictionary *d)
struct attrset *
dict_get_attributes (const struct dictionary *d)
{
struct attrset *
dict_get_attributes (const struct dictionary *d)
{
- return
(struct attrset *) &d->attributes
;
+ return
CONST_CAST (struct attrset *, &d->attributes)
;
}
/* Replaces D's attributes set by a copy of ATTRS. */
}
/* Replaces D's attributes set by a copy of ATTRS. */