summaryrefslogtreecommitdiffstats
path: root/src/H5Tbit.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2003-12-29 17:56:08 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2003-12-29 17:56:08 (GMT)
commit16c51c2061e8c8bacd890ee9543ffcfd552bfb88 (patch)
tree2480c58a8dbd9d0f62a4d117939da83e2f51b2ec /src/H5Tbit.c
parent99e520c8cb3a5e33a5e85ff267fe53e98da1b61e (diff)
downloadhdf5-16c51c2061e8c8bacd890ee9543ffcfd552bfb88.zip
hdf5-16c51c2061e8c8bacd890ee9543ffcfd552bfb88.tar.gz
hdf5-16c51c2061e8c8bacd890ee9543ffcfd552bfb88.tar.bz2
[svn-r7984] Purpose: bug fix
Description: VL datatype fails in certain way(hard to describe) 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 f6e36c7..fae953a 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;