summaryrefslogtreecommitdiffstats
path: root/src/H5Tconv.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2005-06-14 19:16:07 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2005-06-14 19:16:07 (GMT)
commit3344dd72ed167f95add9ed58da70e03ca336c2a4 (patch)
tree077328b32c3e422b9654d74346e89a121bf0f677 /src/H5Tconv.c
parent1d6d99628624105874430fe65a3df1bf851c0f39 (diff)
downloadhdf5-3344dd72ed167f95add9ed58da70e03ca336c2a4.zip
hdf5-3344dd72ed167f95add9ed58da70e03ca336c2a4.tar.gz
hdf5-3344dd72ed167f95add9ed58da70e03ca336c2a4.tar.bz2
[svn-r10918] Purpose: Bug fix
Description: Fix the codes of last checkin(Bug #341). Some failures happened in daily test from last checkin. Try to fix them in this checkin. Platforms tested: modi4, mir, and tg-login2.
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r--src/H5Tconv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c
index d4125a1..8dabcc8 100644
--- a/src/H5Tconv.c
+++ b/src/H5Tconv.c
@@ -405,7 +405,7 @@ H5FL_BLK_DEFINE_STATIC(array_seq);
#define H5T_CONV_fF(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
assert(sizeof(ST)<=sizeof(DT)); \
- H5T_CONV(H5T_CONV_xX, double, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
+ H5T_CONV(H5T_CONV_xX, long double, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
}
/* Same as H5T_CONV_Xx_CORE, except that instead of using D_MAX and D_MIN
@@ -448,7 +448,7 @@ H5FL_BLK_DEFINE_STATIC(array_seq);
#define H5T_CONV_Ff(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
assert(sizeof(ST)>=sizeof(DT)); \
- H5T_CONV(H5T_CONV_Ff, double, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
+ H5T_CONV(H5T_CONV_Ff, long double, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
}
#define H5T_CONV_xF(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \