summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2005-06-14 18:22:19 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2005-06-14 18:22:19 (GMT)
commit1d6d99628624105874430fe65a3df1bf851c0f39 (patch)
treefef9df7815e4609f28904d891aaa8baf269df8b9 /src
parentccc9a37b5222fde9c364bf730e6c3c83a763300a (diff)
downloadhdf5-1d6d99628624105874430fe65a3df1bf851c0f39.zip
hdf5-1d6d99628624105874430fe65a3df1bf851c0f39.tar.gz
hdf5-1d6d99628624105874430fe65a3df1bf851c0f39.tar.bz2
[svn-r10917] 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')
-rw-r--r--src/H5T.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/H5T.c b/src/H5T.c
index 9ff0863..73f1c4a 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -671,11 +671,11 @@ H5T_init_interface(void)
H5T_t *native_uint=NULL; /* Datatype structure for native unsigned int */
H5T_t *native_long=NULL; /* Datatype structure for native long */
H5T_t *native_ulong=NULL; /* Datatype structure for native unsigned long */
- H5T_t *native_llong=NULL; /* Datatype structure for native llong */
- H5T_t *native_ullong=NULL; /* Datatype structure for native unsigned llong */
+ H5T_t *native_llong=NULL; /* Datatype structure for native long long */
+ H5T_t *native_ullong=NULL; /* Datatype structure for native unsigned long long */
H5T_t *native_float=NULL; /* Datatype structure for native float */
H5T_t *native_double=NULL; /* Datatype structure for native double */
- H5T_t *native_ldouble=NULL; /* Datatype structure for native double */
+ H5T_t *native_ldouble=NULL; /* Datatype structure for native long double */
H5T_t *std_u8le=NULL; /* Datatype structure for unsigned 8-bit little-endian integer */
H5T_t *std_u8be=NULL; /* Datatype structure for unsigned 8-bit big-endian integer */
H5T_t *std_u16le=NULL; /* Datatype structure for unsigned 16-bit little-endian integer */
@@ -747,10 +747,8 @@ H5T_init_interface(void)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a datatype object");
if (NULL==(native_double=H5I_object(H5T_NATIVE_DOUBLE_g)))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a datatype object");
-#if H5_SW_LDOUBLE_TO_INTEGER_WORKS || H5_SW_INTEGER_TO_LDOUBLE_WORKS
if (NULL==(native_ldouble=H5I_object(H5T_NATIVE_LDOUBLE_g)))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a datatype object");
-#endif /*H5_SW_LDOUBLE_TO_INTEGER_WORKS || H5_SW_INTEGER_TO_LDOUBLE_WORKS */
/*------------------------------------------------------------
* Native types