summaryrefslogtreecommitdiffstats
path: root/src/H5FScache.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-22 19:56:03 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-22 19:56:03 (GMT)
commitedf124f40bc52044ba7f020225029d05190ffd39 (patch)
tree81bf09fb5119841275312c0d19523e6eef517f8c /src/H5FScache.c
parent249acc03550e9cb2ed3cfaa56737215910a7a194 (diff)
downloadhdf5-edf124f40bc52044ba7f020225029d05190ffd39.zip
hdf5-edf124f40bc52044ba7f020225029d05190ffd39.tar.gz
hdf5-edf124f40bc52044ba7f020225029d05190ffd39.tar.bz2
[svn-r18616] Description:
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/H5FScache.c')
-rw-r--r--src/H5FScache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5FScache.c b/src/H5FScache.c
index b17a7f1..145d664 100644
--- a/src/H5FScache.c
+++ b/src/H5FScache.c
@@ -179,7 +179,7 @@ H5FS_cache_hdr_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void *_fs_prot,
HGOTO_ERROR(H5E_FSPACE, H5E_CANTINIT, NULL, "can't wrap buffer")
/* Compute the size of the free space header on disk */
- size = H5FS_HEADER_SIZE(f);
+ size = (size_t)H5FS_HEADER_SIZE(f);
/* Get a pointer to a buffer that's large enough for header */
if(NULL == (hdr = (uint8_t *)H5WB_actual(wb, size)))
@@ -348,7 +348,7 @@ H5FS_cache_hdr_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5F
HGOTO_ERROR(H5E_FSPACE, H5E_CANTINIT, FAIL, "can't wrap buffer")
/* Compute the size of the free space header on disk */
- size = H5FS_HEADER_SIZE(f);
+ size = (size_t)H5FS_HEADER_SIZE(f);
/* Get a pointer to a buffer that's large enough for header */
if(NULL == (hdr = (uint8_t *)H5WB_actual(wb, size)))
@@ -542,7 +542,7 @@ H5FS_cache_hdr_size(const H5F_t *f, const H5FS_t UNUSED *fspace, size_t *size_pt
HDassert(size_ptr);
/* Set size value */
- *size_ptr = H5FS_HEADER_SIZE(f);
+ *size_ptr = (size_t)H5FS_HEADER_SIZE(f);
FUNC_LEAVE_NOAPI(SUCCEED)
} /* H5FS_cache_hdr_size() */