diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-11-25 18:11:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-11-25 18:11:27 (GMT) |
commit | 378b5ad0f1bd0f15e6dd8f479c19f25502555184 (patch) | |
tree | e654177c02d90f80a3689fab3677632399ea94ce /test | |
parent | 56ce635a1d01a9ac52dc6b426fceaf9903601224 (diff) | |
download | hdf5-378b5ad0f1bd0f15e6dd8f479c19f25502555184.zip hdf5-378b5ad0f1bd0f15e6dd8f479c19f25502555184.tar.gz hdf5-378b5ad0f1bd0f15e6dd8f479c19f25502555184.tar.bz2 |
[svn-r7879] Purpose:
Bug fix
Description:
C++ compiler was choking on passing a (hsize_t *) to a function which wants
a (uint8_t *).
Solution:
Cast the (hsize_t *) to a (uint8_t *)... :-)
Platforms tested:
FreeBSD 4.9 (sleipnir)
Configuration untested by h5committest
Diffstat (limited to 'test')
-rw-r--r-- | test/dtypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dtypes.c b/test/dtypes.c index 448115c..f054002 100644 --- a/test/dtypes.c +++ b/test/dtypes.c @@ -4777,7 +4777,7 @@ overflows(unsigned char *origin_bits, dtype_t src_dtype, size_t src_size_bytes, else sig >>= expt_digits - expt; - indx = H5T_bit_find(&sig, 0, 8*sizeof(hsize_t), H5T_BIT_MSB, 1); + indx = H5T_bit_find((uint8_t *)&sig, 0, 8*sizeof(hsize_t), H5T_BIT_MSB, 1); if(indx>=dst_num_bits) ret_value=TRUE; |