diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-06-11 19:53:30 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-06-11 19:53:30 (GMT) |
commit | bea931d73cb9db08ac220393c2cb59dd6326a8ef (patch) | |
tree | 2a3852ebb0641453477852bf0c93be5b06e99335 /src/H5V.c | |
parent | d9348f3763294259cc75f15bd255133c820112db (diff) | |
download | hdf5-bea931d73cb9db08ac220393c2cb59dd6326a8ef.zip hdf5-bea931d73cb9db08ac220393c2cb59dd6326a8ef.tar.gz hdf5-bea931d73cb9db08ac220393c2cb59dd6326a8ef.tar.bz2 |
[svn-r3983] Purpose:
Code cleanups
Description:
Fixed a small number of warnings and also took out the H5private.h
header from H5Ppublic.h
Platforms tested:
FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'src/H5V.c')
-rw-r--r-- | src/H5V.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -294,7 +294,7 @@ H5V_hyper_stride(uintn n, const hsize_t *size, default: /* others */ for (i=(intn)(n-2), acc=1; i>=0; --i) { - hsize_t tmp = acc * (total_size[i+1] - size[i+1]); + tmp = acc * (total_size[i+1] - size[i+1]); assert (tmp<((hsize_t)1<<(8*sizeof(hssize_t)-1))); stride[i] = (hssize_t)tmp; /*overflow checked*/ acc *= total_size[i+1]; @@ -633,8 +633,8 @@ H5V_hyper_copy(uintn n, const hsize_t *_size, default: /* others */ for (ii=(intn)(n-2), dst_acc=1, src_acc=1; ii>=0; --ii) { - hsize_t tmp1 = dst_acc * (dst_size[ii+1] - size[ii+1]); - hsize_t tmp2 = src_acc * (src_size[ii+1] - size[ii+1]); + tmp1 = dst_acc * (dst_size[ii+1] - size[ii+1]); + tmp2 = src_acc * (src_size[ii+1] - size[ii+1]); assert (tmp1<((hsize_t)1<<(8*sizeof(hssize_t)-1))); assert (tmp2<((hsize_t)1<<(8*sizeof(hssize_t)-1))); dst_stride[ii] = (hssize_t)tmp1; /*overflow checked*/ |