mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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
This commit is contained in:
parent
56ce635a1d
commit
378b5ad0f1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user