summaryrefslogtreecommitdiffstats
path: root/src/H5Ocache.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-08-12 22:04:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-08-12 22:04:35 (GMT)
commit328d540a34a6ccabd9a354453b38accef0dd6682 (patch)
tree3f2338d555f4b059fbfd34c49ce3d2d49321b150 /src/H5Ocache.c
parent7a1fcfa41974c02b1b7787e2f9627e0027868860 (diff)
downloadhdf5-328d540a34a6ccabd9a354453b38accef0dd6682.zip
hdf5-328d540a34a6ccabd9a354453b38accef0dd6682.tar.gz
hdf5-328d540a34a6ccabd9a354453b38accef0dd6682.tar.bz2
[svn-r17347] Description:
Bring r17299:17346 from trunk to revise_chunks branch (including rerunning bin/reconfigure, after the autotools update in the trunk) Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'src/H5Ocache.c')
-rw-r--r--src/H5Ocache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ocache.c b/src/H5Ocache.c
index d396896..c0c1bfa 100644
--- a/src/H5Ocache.c
+++ b/src/H5Ocache.c
@@ -509,7 +509,7 @@ H5O_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void UNUSED * _udata1,
HDassert(nullcnt == 0);
/* Set gap information for chunk */
- oh->chunk[chunkno].gap = (eom_ptr - p);
+ oh->chunk[chunkno].gap = (size_t)(eom_ptr - p);
/* Increment location in chunk */
p += oh->chunk[chunkno].gap;