summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-09-30 02:49:44 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-09-30 02:49:44 (GMT)
commit03d438979b7bc6a08d25d121676bbd2083254c80 (patch)
tree3f84ef78766cf9695bb37b3d1bf26b0e25c011e2 /src/H5private.h
parent7c7bedb1ad91b4d0da2a8de0b0fd0a45cb934699 (diff)
downloadhdf5-03d438979b7bc6a08d25d121676bbd2083254c80.zip
hdf5-03d438979b7bc6a08d25d121676bbd2083254c80.tar.gz
hdf5-03d438979b7bc6a08d25d121676bbd2083254c80.tar.bz2
[svn-r1696] Closed file handle leak for some failure cases.
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/H5private.h b/src/H5private.h
index c2eecd4..d5985cb 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -379,10 +379,11 @@ typedef double float32;
# error "nothing appropriate for float32"
#endif
-#if SIZEOF_FLOAT>=8
-typedef float float64;
-#elif SIZEOF_DOUBLE>=8
+/* Bias float64 toward using double - QAK */
+#if SIZEOF_DOUBLE>=8
typedef double float64;
+#elif SIZEOF_FLOAT>=8
+typedef float float64;
#else
# error "nothing appropriate for float64"
#endif