summaryrefslogtreecommitdiffstats
path: root/src/H5B.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-23 18:11:37 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-23 18:11:37 (GMT)
commit55f2a52191fcbf38d67b698f90e2c876f1b39d02 (patch)
tree9d1d85c6480a548c5ae2ff1046f3a57fd1222352 /src/H5B.c
parent40c757d48b5fcdf0c217ae6392fb111b1a4acc91 (diff)
downloadhdf5-55f2a52191fcbf38d67b698f90e2c876f1b39d02.zip
hdf5-55f2a52191fcbf38d67b698f90e2c876f1b39d02.tar.gz
hdf5-55f2a52191fcbf38d67b698f90e2c876f1b39d02.tar.bz2
[svn-r18622] Description:
Bring r18621 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/H5B.c')
-rw-r--r--src/H5B.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5B.c b/src/H5B.c
index a0fd7ce..0850340 100644
--- a/src/H5B.c
+++ b/src/H5B.c
@@ -1718,7 +1718,7 @@ H5B_shared_new(const H5F_t *f, const H5B_class_t *type, size_t sizeof_rkey)
shared->sizeof_rkey = sizeof_rkey;
HDassert(shared->sizeof_rkey);
shared->sizeof_keys = (shared->two_k + 1) * type->sizeof_nkey;
- shared->sizeof_rnode = (H5B_SIZEOF_HDR(f) + /*node header */
+ shared->sizeof_rnode = ((size_t)H5B_SIZEOF_HDR(f) + /*node header */
shared->two_k * H5F_SIZEOF_ADDR(f) + /*child pointers */
(shared->two_k + 1) * shared->sizeof_rkey); /*keys */
HDassert(shared->sizeof_rnode);