diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2013-10-04 19:28:22 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2013-10-04 19:28:22 (GMT) |
commit | 5f2a34b462bcbbe73befa3730b6f327f6a5695fe (patch) | |
tree | 1d541004016004a50ea1cc5d147ca5e007ab5746 /src/H5FSpkg.h | |
parent | 2060d4f6b906fa2b46ad87578e67f5386ce4cde7 (diff) | |
download | hdf5-5f2a34b462bcbbe73befa3730b6f327f6a5695fe.zip hdf5-5f2a34b462bcbbe73befa3730b6f327f6a5695fe.tar.gz hdf5-5f2a34b462bcbbe73befa3730b6f327f6a5695fe.tar.bz2 |
[svn-r24256] Description:
Clean up warnings
Tested on:
Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN
(too minor for h5committest)
Diffstat (limited to 'src/H5FSpkg.h')
-rw-r--r-- | src/H5FSpkg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5FSpkg.h b/src/H5FSpkg.h index e22e411..b6c240e 100644 --- a/src/H5FSpkg.h +++ b/src/H5FSpkg.h @@ -96,7 +96,7 @@ /* Callback info for loading a free space header into the cache */ typedef struct H5FS_hdr_cache_ud_t { H5F_t *f; /* File that free space header is within */ - size_t nclasses; /* Number of section classes */ + uint16_t nclasses; /* Number of section classes */ const H5FS_section_class_t **classes; /* Array of section class info */ void *cls_init_udata; /* Pointer to class init user data */ haddr_t addr; /* Address of header */ @@ -163,7 +163,7 @@ struct H5FS_t { /* Creation parameters */ H5FS_client_t client; /* Type of user of this free space manager */ - unsigned nclasses; /* Number of section classes handled */ + uint16_t nclasses; /* Number of section classes handled */ unsigned shrink_percent; /* Percent of "normal" serialized size to shrink serialized space at */ unsigned expand_percent; /* Percent of "normal" serialized size to expand serialized space at */ unsigned max_sect_addr; /* Size of address space free sections are within (log2 of actual value) */ @@ -221,7 +221,7 @@ H5FL_EXTERN(H5FS_t); /******************************/ /* Free space manager header routines */ -H5_DLL H5FS_t *H5FS_new(const H5F_t *f, size_t nclasses, +H5_DLL H5FS_t *H5FS_new(const H5F_t *f, uint16_t nclasses, const H5FS_section_class_t *classes[], void *cls_init_udata); H5_DLL herr_t H5FS_incr(H5FS_t *fspace); H5_DLL herr_t H5FS_decr(H5FS_t *fspace); |