From 1e1e2578f66a7346aef55b33f44c2d27853c7da7 Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Tue, 28 Jun 2005 14:42:51 -0500 Subject: [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: --- fortran/src/H5_f.c | 2 +- hl/src/H5LT.c | 2 +- hl/src/H5LT.h | 2 +- 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, -- cgit v0.12