summaryrefslogtreecommitdiffstats
path: root/src/H5Dbtree.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-15 18:00:20 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-15 18:00:20 (GMT)
commit2bacd3d4d745e5e78c55d83e1b4d3699a800bf88 (patch)
tree7ff2e1457af229dd21377863137001ab4b7ed609 /src/H5Dbtree.c
parent833db1dd16f21c352df8ea4d291ab14445292aad (diff)
downloadhdf5-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.c6
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;