summaryrefslogtreecommitdiffstats
path: root/src/H5Fsuper.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-27 18:33:36 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-27 18:33:36 (GMT)
commite4ee157c86ea837ba8297c50cefdc296e8401094 (patch)
tree834205bf56ec642aab0f022382fab69bb7c64c46 /src/H5Fsuper.c
parent53d5ccb17e75f4ce182f3d98f2b60891de07e716 (diff)
downloadhdf5-e4ee157c86ea837ba8297c50cefdc296e8401094.zip
hdf5-e4ee157c86ea837ba8297c50cefdc296e8401094.tar.gz
hdf5-e4ee157c86ea837ba8297c50cefdc296e8401094.tar.bz2
[svn-r18635] Description:
Bring r18634 from trunk to 1.8 branch: Clean up compiler warnings. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode (h5committested on trunk)
Diffstat (limited to 'src/H5Fsuper.c')
-rw-r--r--src/H5Fsuper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Fsuper.c b/src/H5Fsuper.c
index 01f451a..d6e89c9 100644
--- a/src/H5Fsuper.c
+++ b/src/H5Fsuper.c
@@ -453,7 +453,7 @@ H5F_super_init(H5F_t *f, hid_t dxpl_id)
sblock->super_vers = super_vers;
/* Compute the size of the superblock */
- superblock_size = (size_t)H5F_SUPERBLOCK_SIZE(super_vers, f);
+ superblock_size = (hsize_t)H5F_SUPERBLOCK_SIZE(super_vers, f);
/* Compute the size of the driver information block */
H5_ASSIGN_OVERFLOW(driver_size, H5FD_sb_size(f->shared->lf), hsize_t, size_t);
@@ -699,7 +699,7 @@ H5F_super_size(H5F_t *f, hid_t dxpl_id, hsize_t *super_size, hsize_t *super_ext_
/* Set the superblock size */
if(super_size)
- *super_size = (size_t)H5F_SUPERBLOCK_SIZE(f->shared->sblock->super_vers, f);
+ *super_size = (hsize_t)H5F_SUPERBLOCK_SIZE(f->shared->sblock->super_vers, f);
/* Set the superblock extension size */
if(super_ext_size) {