diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-15 18:00:20 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-15 18:00:20 (GMT) |
commit | 2bacd3d4d745e5e78c55d83e1b4d3699a800bf88 (patch) | |
tree | 7ff2e1457af229dd21377863137001ab4b7ed609 /src/H5Dbtree.c | |
parent | 833db1dd16f21c352df8ea4d291ab14445292aad (diff) | |
download | hdf5-2bacd3d4d745e5e78c55d83e1b4d3699a800bf88.zip hdf5-2bacd3d4d745e5e78c55d83e1b4d3699a800bf88.tar.gz hdf5-2bacd3d4d745e5e78c55d83e1b4d3699a800bf88.tar.bz2 |
[svn-r18564] Description:
Clean up compiler warnings.
Tested on:
Mac OS X/32 10.6.3 (amazon) w/debug
(too simple to require h5committest)
Diffstat (limited to 'src/H5Dbtree.c')
-rw-r--r-- | src/H5Dbtree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Dbtree.c b/src/H5Dbtree.c index 9cc15c0..bed3d4c 100644 --- a/src/H5Dbtree.c +++ b/src/H5Dbtree.c @@ -122,7 +122,7 @@ static H5B_ins_t H5D_btree_remove( H5F_t *f, hid_t dxpl_id, haddr_t addr, static herr_t H5D_btree_decode_key(const H5B_shared_t *shared, const uint8_t *raw, void *_key); static herr_t H5D_btree_encode_key(const H5B_shared_t *shared, uint8_t *raw, - void *_key); + const void *_key); static herr_t H5D_btree_debug_key(FILE *stream, int indent, int fwidth, const void *key, const void *udata); @@ -706,9 +706,9 @@ H5D_btree_decode_key(const H5B_shared_t *shared, const uint8_t *raw, void *_key) *------------------------------------------------------------------------- */ static herr_t -H5D_btree_encode_key(const H5B_shared_t *shared, uint8_t *raw, void *_key) +H5D_btree_encode_key(const H5B_shared_t *shared, uint8_t *raw, const void *_key) { - H5D_btree_key_t *key = (H5D_btree_key_t *) _key; + const H5D_btree_key_t *key = (const H5D_btree_key_t *)_key; size_t ndims; unsigned u; |