diff options
Diffstat (limited to 'src/H5Tbit.c')
-rw-r--r-- | src/H5Tbit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Tbit.c b/src/H5Tbit.c index a89e2e8..0813f46 100644 --- a/src/H5Tbit.c +++ b/src/H5Tbit.c @@ -171,7 +171,8 @@ H5T_bit_get_d (uint8_t *buf, size_t offset, size_t size) hsize_t val=0; size_t i, hs; - FUNC_ENTER (H5T_bit_get_d, 0); + FUNC_ENTER_NOAPI(H5T_bit_get_d, 0); + assert (8*sizeof(val)>=size); H5T_bit_copy ((uint8_t*)&val, 0, buf, offset, size); |