summaryrefslogtreecommitdiffstats
path: root/src/H5B2.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-04-18 21:21:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-04-18 21:21:35 (GMT)
commitaf6276f6543d06c9f18939cc8b810f57397b7a67 (patch)
treeef2c50b7bd22d0967fdab6075864577746e4b147 /src/H5B2.c
parentd8b08dbc85dfe28d926caf3c03e9d60c63d80794 (diff)
downloadhdf5-af6276f6543d06c9f18939cc8b810f57397b7a67.zip
hdf5-af6276f6543d06c9f18939cc8b810f57397b7a67.tar.gz
hdf5-af6276f6543d06c9f18939cc8b810f57397b7a67.tar.bz2
[svn-r10628] Purpose:
Code cleanup Description: Clean up various warnings reported by the Windows team. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'src/H5B2.c')
-rw-r--r--src/H5B2.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/H5B2.c b/src/H5B2.c
index 34eb96b..0692b90 100644
--- a/src/H5B2.c
+++ b/src/H5B2.c
@@ -320,7 +320,8 @@ H5B2_create(H5F_t *f, hid_t dxpl_id, const H5B2_class_t *type,
bt2->cache_info.is_dirty = TRUE;
bt2->depth = 0;
bt2->root.addr = HADDR_UNDEF;
- bt2->root.node_nrec = bt2->root.all_nrec = 0;
+ bt2->root.node_nrec = 0;
+ bt2->root.all_nrec = 0;
/* Initialize shared B-tree info */
if(H5B2_shared_init(f, bt2, type, node_size, rrec_size, split_percent, merge_percent)<0)
@@ -532,8 +533,8 @@ H5B2_split_root(H5F_t *f, hid_t dxpl_id, H5B2_t *bt2, H5RC_t *bt2_shared)
/* Determine total number of records in new child nodes */
if(bt2->depth>0) {
unsigned u; /* Local index variable */
- unsigned new_left_all_nrec; /* New total number of records in left child */
- unsigned new_right_all_nrec; /* New total number of records in right child */
+ hsize_t new_left_all_nrec; /* New total number of records in left child */
+ hsize_t new_right_all_nrec; /* New total number of records in right child */
/* Compute total of all records in each child node */
new_left_all_nrec = new_root->node_ptrs[0].node_nrec;