summaryrefslogtreecommitdiffstats
path: root/src/H5SMpkg.h
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-12-02 01:32:31 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-12-02 01:32:31 (GMT)
commit87db6fed4f3a94216e529999bda52296ed13e7ec (patch)
tree518f31ea7b8b8a66b32ba74e2b7cca9cd41c3e55 /src/H5SMpkg.h
parent2ab4d2d63ac3a728269168ff82c9a21240ca2aff (diff)
downloadhdf5-87db6fed4f3a94216e529999bda52296ed13e7ec.zip
hdf5-87db6fed4f3a94216e529999bda52296ed13e7ec.tar.gz
hdf5-87db6fed4f3a94216e529999bda52296ed13e7ec.tar.bz2
[svn-r13010] Cleaned up warnings in H5SM* files.
Cleaned up all warnings on kagiso. Tested on kagiso and copper.
Diffstat (limited to 'src/H5SMpkg.h')
-rwxr-xr-xsrc/H5SMpkg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5SMpkg.h b/src/H5SMpkg.h
index c62e748..0aea386 100755
--- a/src/H5SMpkg.h
+++ b/src/H5SMpkg.h
@@ -110,7 +110,7 @@ typedef enum {
typedef struct {
uint32_t hash; /* The hash value for this message */
const void *encoding; /* The message encoded */
- hsize_t encoding_size; /* Size of the encoding */
+ size_t encoding_size; /* Size of the encoding */
H5HF_t *fheap; /* The heap for this message type, open. */
H5SM_fheap_id_t mesg_heap_id; /* The heap_id for this message */
} H5SM_mesg_key_t;
@@ -173,14 +173,14 @@ H5_DLL herr_t H5SM_message_decode(const H5F_t *f, const uint8_t *raw,
/* H5SM_message_compare is in H5SMbtree2.c, but is also used by list code
* in H5SM.c.
*/
-H5_DLL herr_t H5SM_message_compare(const H5SM_mesg_key_t *rec1,
- const H5SM_sohm_t *rec2);
+H5_DLL herr_t H5SM_message_compare(const void *rec1,
+ const void *rec2);
/* H5B2_modify_t callbacks to adjust record's refcount. */
H5_DLL herr_t H5SM_incr_ref(void *record, void *op_data, hbool_t *changed);
H5_DLL herr_t H5SM_decr_ref(void *record, void *op_data, hbool_t *changed);
/* H5B2_remove_t callback to add messages to a list index */
-H5_DLL herr_t H5SM_convert_to_list_op(void * record, void *op_data);
+H5_DLL herr_t H5SM_convert_to_list_op(const void * record, void *op_data);
#endif /*_H5SMpkg_H*/