diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-22 20:04:44 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-22 20:04:44 (GMT) |
commit | 683d60460a94869225094b4efc824258c5b0dcd3 (patch) | |
tree | 92f6400d0c7f80046231ad46048227cdf4940a34 /src/H5B2cache.c | |
parent | cacfe71beb159fc44df256f641d4faac594c802e (diff) | |
download | hdf5-683d60460a94869225094b4efc824258c5b0dcd3.zip hdf5-683d60460a94869225094b4efc824258c5b0dcd3.tar.gz hdf5-683d60460a94869225094b4efc824258c5b0dcd3.tar.bz2 |
[svn-r18617] Description:
Bring r18616 from trunk to 1.8 branch:
Clean up compiler warnings.
Tested on:
Mac OS X/32 10.6.3 (amazon) w/debug
(too minor to require h5committest)
Diffstat (limited to 'src/H5B2cache.c')
-rw-r--r-- | src/H5B2cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5B2cache.c b/src/H5B2cache.c index d79deff..16c0da3 100644 --- a/src/H5B2cache.c +++ b/src/H5B2cache.c @@ -201,7 +201,7 @@ H5B2_cache_hdr_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void UNUSED *ud HGOTO_ERROR(H5E_BTREE, H5E_CANTLOAD, NULL, "wrong B-tree header version") /* B-tree class */ - id = *p++; + id = (H5B2_subid_t)*p++; if(id >= H5B2_NUM_BTREE_ID) HGOTO_ERROR(H5E_BTREE, H5E_BADTYPE, NULL, "invalid B-tree type") |