projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hmap: Convert tests to use Autotest.
[pspp-builds.git]
/
tests
/
libpspp
/
range-set-test.c
diff --git
a/tests/libpspp/range-set-test.c
b/tests/libpspp/range-set-test.c
index e8cbffa5e6334408bbd69dc4c7c2a7e9dbb72829..8d6e68316834d707254b5888f92d1b41b1064bb6 100644
(file)
--- a/
tests/libpspp/range-set-test.c
+++ b/
tests/libpspp/range-set-test.c
@@
-212,7
+212,7
@@
check_pattern (const struct range_set *rs, unsigned int pattern)
caching. */
for (start = 0; start <= 32; start++)
{
caching. */
for (start = 0; start <= 32; start++)
{
- struct range_set *nonconst_rs =
(struct range_set *) rs
;
+ struct range_set *nonconst_rs =
CONST_CAST (struct range_set *, rs)
;
nonconst_rs->cache_end = 0;
s1 = range_set_scan (rs, start);
s2 = next_1bit (pattern, start);
nonconst_rs->cache_end = 0;
s1 = range_set_scan (rs, start);
s2 = next_1bit (pattern, start);