diff options
Diffstat (limited to 'src/H5Ssimp.c')
-rw-r--r-- | src/H5Ssimp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Ssimp.c b/src/H5Ssimp.c index 99900c2..6f4dd4f 100644 --- a/src/H5Ssimp.c +++ b/src/H5Ssimp.c @@ -243,7 +243,7 @@ H5S_simp_mscat (const void *tconv_buf, size_t elmt_size, "hyperslab sampling is not implemented yet"); } } - if (H5S_get_dims (mem_space, mem_size)<0) { + if (H5S_get_dims (mem_space, mem_size, NULL)<0) { HRETURN_ERROR (H5E_DATASPACE, H5E_CANTINIT, FAIL, "unable to retrieve data space dimensions"); } @@ -348,7 +348,7 @@ H5S_simp_mgath (const void *buf, size_t elmt_size, "hyperslab sampling is not implemented yet"); } } - if (H5S_get_dims (mem_space, mem_size)<0) { + if (H5S_get_dims (mem_space, mem_size, NULL)<0) { HRETURN_ERROR (H5E_DATASPACE, H5E_CANTINIT, 0, "unable to retrieve data space dimensions"); } |