diff options
Diffstat (limited to 'src/H5Vprivate.h')
-rw-r--r-- | src/H5Vprivate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Vprivate.h b/src/H5Vprivate.h index 37143ff..063d92a 100644 --- a/src/H5Vprivate.h +++ b/src/H5Vprivate.h @@ -95,10 +95,10 @@ __DLL__ hsize_t H5V_array_offset(unsigned n, const hsize_t *total_size, * *------------------------------------------------------------------------- */ -static H5_inline hsize_t UNUSED +static H5_inline hsize_t H5V_vector_reduce_product(unsigned n, const hsize_t *v) { - size_t ans = 1; + hsize_t ans = 1; if (n && !v) return 0; while (n--) ans *= *v++; |