diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-24 20:05:44 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-24 20:05:44 (GMT) |
commit | 76508013e1b9f3ce31cb996d2933615d809282d9 (patch) | |
tree | a1565e77b502749d1f23c0595a1e32b63de63960 /src | |
parent | caadba7295e8c7b936c7fd9892ef59cc343d2cd0 (diff) | |
download | hdf5-76508013e1b9f3ce31cb996d2933615d809282d9.zip hdf5-76508013e1b9f3ce31cb996d2933615d809282d9.tar.gz hdf5-76508013e1b9f3ce31cb996d2933615d809282d9.tar.bz2 |
[svn-r7094] Purpose:
Bug fix
Description:
Change final "long" to "long double" in native floating-point check.
Platforms tested:
FreeBSD 4.8 (sleipnir)
h5committest
Cray SV1 (wind)
Cray T3E (hubble)
Cray T90 (gypsy)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Tnative.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tnative.c b/src/H5Tnative.c index 9fd9bbe..92e5b02 100644 --- a/src/H5Tnative.c +++ b/src/H5Tnative.c @@ -719,7 +719,7 @@ H5T_get_native_float(size_t size, H5T_direction_t direction, size_t *struct_alig native_size = sizeof(long double); } else { /* If not match, return the biggest datatype */ match=H5T_NATIVE_FLOAT_MATCH_LDOUBLE; - native_size = sizeof(long); + native_size = sizeof(long double); } } else { if(size>=sizeof(long double)) { |