From 76508013e1b9f3ce31cb996d2933615d809282d9 Mon Sep 17 00:00:00 2001
From: Quincey Koziol <koziol@hdfgroup.org>
Date: Tue, 24 Jun 2003 15:05:44 -0500
Subject: [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)
---
 src/H5Tnative.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)) {
-- 
cgit v0.12