summaryrefslogtreecommitdiffstats
path: root/src/H5S.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5S.c')
-rw-r--r--src/H5S.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5S.c b/src/H5S.c
index 61359e4..9675eae 100644
--- a/src/H5S.c
+++ b/src/H5S.c
@@ -207,6 +207,7 @@ H5S_term_interface(void)
for (i=0; i<H5S_nconv_g; i++) H5MM_xfree(H5S_conv_g[i]);
H5S_conv_g = H5MM_xfree(H5S_conv_g);
H5S_nconv_g = H5S_aconv_g = 0;
+ interface_initialize_g = FALSE;
}
@@ -795,7 +796,7 @@ H5S_get_npoints_max(const H5S_t *ds)
if (ds->extent.u.simple.max) {
for (ret_value=1, i=0; i<ds->extent.u.simple.rank; i++) {
if (H5S_UNLIMITED==ds->extent.u.simple.max[i]) {
- ret_value = MAX_HSIZET;
+ ret_value = HSIZET_MAX;
break;
} else {
ret_value *= ds->extent.u.simple.max[i];