summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r--src/H5Shyper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index 5866169..0687251 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -774,9 +774,9 @@ H5S_hyper_span_precompute_helper (H5S_hyper_span_info_t *spans, size_t elmt_size
assert(spans);
/* Check if we've already set this down span tree */
- if(spans->scratch!=(void *)~((size_t)NULL)) {
+ if(spans->scratch!=(H5S_hyper_span_info_t *)~((size_t)NULL)) {
/* Set the tree's scratch pointer */
- spans->scratch=(void *)~((size_t)NULL);
+ spans->scratch=(H5S_hyper_span_info_t *)~((size_t)NULL);
/* Set the scratch pointers in all the nodes */
span=spans->head;
@@ -926,7 +926,7 @@ H5S_hyper_copy_span_helper (H5S_hyper_span_info_t *spans)
assert(spans);
/* Check if the span tree was already copied */
- if(spans->scratch!=NULL && spans->scratch!=(void *)~((size_t)NULL)) {
+ if(spans->scratch!=NULL && spans->scratch!=(H5S_hyper_span_info_t *)~((size_t)NULL)) {
/* Just return the value of the already copied span tree */
ret_value=spans->scratch;