summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5Shyper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index 5ed1722..10bcdd6 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -2021,7 +2021,7 @@ H5S_hyper_serialize_helper(const H5S_hyper_span_info_t *spans,
/* Recurse down to the next dimension */
*p = pp;
- H5S_hyper_serialize_helper(curr->down, start, end, rank = 1, p);
+ H5S_hyper_serialize_helper(curr->down, start, end, rank + 1, p);
} /* end if */
else {
/* Encode all the previous dimensions starting & ending points */