summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2005-06-28 19:42:51 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2005-06-28 19:42:51 (GMT)
commit1e1e2578f66a7346aef55b33f44c2d27853c7da7 (patch)
tree5ed8b13997e3d41275dda3de2307552b2b685670
parentac2e0d548eaab1cb3c3875ed4cd842de8aed6b41 (diff)
downloadhdf5-1e1e2578f66a7346aef55b33f44c2d27853c7da7.zip
hdf5-1e1e2578f66a7346aef55b33f44c2d27853c7da7.tar.gz
hdf5-1e1e2578f66a7346aef55b33f44c2d27853c7da7.tar.bz2
[svn-r10997] Purpose: Small bug fix
Description: "long long" type caused compilation problems on Windows Solution: Use long_long definition Platforms tested: heping, Windows will follow Misc. update:
-rw-r--r--fortran/src/H5_f.c2
-rw-r--r--hl/src/H5LT.c2
-rw-r--r--hl/src/H5LT.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/fortran/src/H5_f.c b/fortran/src/H5_f.c
index 8d88667..8b244f0 100644
--- a/fortran/src/H5_f.c
+++ b/fortran/src/H5_f.c
@@ -55,7 +55,7 @@ nh5init_types_c( hid_t_f * types, hid_t_f * floatingtypes, hid_t_f * integertype
if ((types[0] = (hid_t_f)H5Tcopy(H5T_NATIVE_LONG)) < 0) return ret_value;
} /*end if */
else
- if (sizeof(int_f) == sizeof(long long)) {
+ if (sizeof(int_f) == sizeof(long_long)) {
if ((types[0] = (hid_t_f)H5Tcopy(H5T_NATIVE_LLONG)) < 0) return ret_value;
} /*end else */
diff --git a/hl/src/H5LT.c b/hl/src/H5LT.c
index 8a19083..bdd76ef 100644
--- a/hl/src/H5LT.c
+++ b/hl/src/H5LT.c
@@ -2467,7 +2467,7 @@ herr_t H5LTget_attribute_long( hid_t loc_id,
herr_t H5LTget_attribute_long_long( hid_t loc_id,
const char *obj_name,
const char *attr_name,
- long long *data )
+ long_long *data )
{
/* identifiers */
diff --git a/hl/src/H5LT.h b/hl/src/H5LT.h
index 9b50db3..e18af31 100644
--- a/hl/src/H5LT.h
+++ b/hl/src/H5LT.h
@@ -291,7 +291,7 @@ herr_t H5LTget_attribute_long( hid_t loc_id,
herr_t H5LTget_attribute_long_long( hid_t loc_id,
const char *obj_name,
const char *attr_name,
- long long *data );
+ long_long *data );
herr_t H5LTget_attribute_ulong( hid_t loc_id,
const char *obj_name,