mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-25 17:00:45 +08:00
[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:
This commit is contained in:
parent
ac2e0d548e
commit
1e1e2578f6
@ -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 */
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user