summaryrefslogtreecommitdiffstats
path: root/src/H5Tbit.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2003-11-21 17:07:25 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2003-11-21 17:07:25 (GMT)
commitc1e333f00650b2b06d1705a4198a772e3adb91cd (patch)
tree27cbaedd444b80a97c7c8e83ebde41ad6edb1298 /src/H5Tbit.c
parent22a36e9d59269874316c2bddff979fcce71c8d68 (diff)
downloadhdf5-c1e333f00650b2b06d1705a4198a772e3adb91cd.zip
hdf5-c1e333f00650b2b06d1705a4198a772e3adb91cd.tar.gz
hdf5-c1e333f00650b2b06d1705a4198a772e3adb91cd.tar.bz2
[svn-r7868] Purpose: new feature
Description: data type conversion between integers and float numbers. (Cover your ears. It's going to explode.:) Solution: covers all native type conversion. Mainly uses hardware conversion but handles overflow more gracefully. Platforms tested: h5committest
Diffstat (limited to 'src/H5Tbit.c')
-rw-r--r--src/H5Tbit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Tbit.c b/src/H5Tbit.c
index f2ad5f1..73576c3 100644
--- a/src/H5Tbit.c
+++ b/src/H5Tbit.c
@@ -183,12 +183,14 @@ H5T_bit_get_d (uint8_t *buf, size_t offset, size_t size)
hsize_t val=0;
size_t i, hs;
hsize_t ret_value; /* Return value */
+ void *pt;
FUNC_ENTER_NOAPI(H5T_bit_get_d, 0);
assert (8*sizeof(val)>=size);
H5T_bit_copy ((uint8_t*)&val, 0, buf, offset, size);
+
switch (((H5T_t*)(H5I_object(H5T_NATIVE_INT_g)))->u.atomic.order) {
case H5T_ORDER_LE:
break;