diff options
author | John Mainzer <mainzer@hdfgroup.org> | 2005-05-02 21:36:43 (GMT) |
---|---|---|
committer | John Mainzer <mainzer@hdfgroup.org> | 2005-05-02 21:36:43 (GMT) |
commit | 724cbc561527005e2cd4cb7026e2a144dfbef5e8 (patch) | |
tree | 89f0fe22b3689bc96926f70ca4fa84fdf193ef20 /src/H5F.c | |
parent | f6fd474fe418db0c27c474a002c414004770f098 (diff) | |
download | hdf5-724cbc561527005e2cd4cb7026e2a144dfbef5e8.zip hdf5-724cbc561527005e2cd4cb7026e2a144dfbef5e8.tar.gz hdf5-724cbc561527005e2cd4cb7026e2a144dfbef5e8.tar.bz2 |
[svn-r10717] Purpose:
Remove C99 types from new metadata cache related API calls
(take 2 -- missed one in the previous check in)
Description:
Windows (and perhaps others) don't like int32_t and int64_t. While
we have dealt with the issue internally, it is more of a problem
in API calls.
Solution:
Convert int32_t to int and int64_t to long int in the new metadata
cache related API calls.
Platforms tested:
heping
Misc. update:
Diffstat (limited to 'src/H5F.c')
-rw-r--r-- | src/H5F.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -4963,11 +4963,12 @@ H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t *cur_size_ptr, - int32_t *cur_num_entries_ptr) + int *cur_num_entries_ptr) { H5F_t *file=NULL; /* File object for file ID */ herr_t ret_value = SUCCEED; /* Return value */ herr_t result; + int32_t cur_num_entries; FUNC_ENTER_API(H5Fget_mdc_size, FAIL) H5TRACE5("e","i*z*z*z*Is",file_id,max_size_ptr,min_clean_size_ptr, @@ -4984,14 +4985,17 @@ H5Fget_mdc_size(hid_t file_id, max_size_ptr, min_clean_size_ptr, cur_size_ptr, - cur_num_entries_ptr); + &cur_num_entries); if ( result != SUCCEED ) { HGOTO_ERROR(H5E_CACHE, H5E_SYSTEM, FAIL, \ "H5AC_get_cache_size() failed."); + + } else if ( cur_num_entries_ptr != NULL ) { + + *cur_num_entries_ptr = (int)cur_num_entries; } - done: |