summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-10-31 00:13:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-10-31 00:13:27 (GMT)
commitbcda3c2dbfd1d7b1fa5e018dfa193ba499ac661d (patch)
treeb72d46ee0babd2aabd0a34387162b8a0d6c8e09d /src
parent3f69573f575390295536c0faa6d083c58a7291fa (diff)
downloadhdf5-bcda3c2dbfd1d7b1fa5e018dfa193ba499ac661d.zip
hdf5-bcda3c2dbfd1d7b1fa5e018dfa193ba499ac661d.tar.gz
hdf5-bcda3c2dbfd1d7b1fa5e018dfa193ba499ac661d.tar.bz2
[svn-r12833] Description:
Clean up more warnings... Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src')
-rw-r--r--src/H5FScache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FScache.c b/src/H5FScache.c
index 73341f2..09db1fd 100644
--- a/src/H5FScache.c
+++ b/src/H5FScache.c
@@ -548,7 +548,7 @@ HDfprintf(stderr, "%s: Load free space sections, addr = %a\n", FUNC, addr);
HGOTO_ERROR(H5E_FSPACE, H5E_CANTLOAD, NULL, "incorrect address for free space sections")
/* Allocate space for the buffer to serialize the sections into */
- old_sect_size = fspace->sect_size;
+ H5_ASSIGN_OVERFLOW(/* To: */ old_sect_size, /* From: */ fspace->sect_size, /* From: */ hsize_t, /* To: */ size_t);
#ifdef QAK
HDfprintf(stderr, "%s: fspace->sect_size = %Hu\n", FUNC, fspace->sect_size);
#endif /* QAK */
@@ -1121,7 +1121,7 @@ H5FS_cache_sinfo_size(const H5F_t UNUSED *f, const H5FS_sinfo_t *sinfo, size_t *
HDassert(size_ptr);
/* Set size value */
- *size_ptr = sinfo->fspace->sect_size;
+ H5_ASSIGN_OVERFLOW(/* To: */ *size_ptr, /* From: */ sinfo->fspace->sect_size, /* From: */ hsize_t, /* To: */ size_t);
FUNC_LEAVE_NOAPI(SUCCEED)
} /* H5FS_cache_sinfo_size() */