summaryrefslogtreecommitdiffstats
path: root/src/H5HGcache.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-10-04 19:28:22 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-10-04 19:28:22 (GMT)
commit5f2a34b462bcbbe73befa3730b6f327f6a5695fe (patch)
tree1d541004016004a50ea1cc5d147ca5e007ab5746 /src/H5HGcache.c
parent2060d4f6b906fa2b46ad87578e67f5386ce4cde7 (diff)
downloadhdf5-5f2a34b462bcbbe73befa3730b6f327f6a5695fe.zip
hdf5-5f2a34b462bcbbe73befa3730b6f327f6a5695fe.tar.gz
hdf5-5f2a34b462bcbbe73befa3730b6f327f6a5695fe.tar.bz2
[svn-r24256] Description:
Clean up warnings Tested on: Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN (too minor for h5committest)
Diffstat (limited to 'src/H5HGcache.c')
-rw-r--r--src/H5HGcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HGcache.c b/src/H5HGcache.c
index afb2a75..4e3f568 100644
--- a/src/H5HGcache.c
+++ b/src/H5HGcache.c
@@ -184,7 +184,7 @@ H5HG_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata)
* assume that it's free space.
*/
HDassert(NULL == heap->obj[0].begin);
- heap->obj[0].size = ((const uint8_t *)heap->chunk + heap->size) - p;
+ heap->obj[0].size = (size_t)(((const uint8_t *)heap->chunk + heap->size) - p);
heap->obj[0].begin = p;
p += heap->obj[0].size;
} /* end if */