diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-08-10 18:02:57 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-08-10 18:02:57 (GMT) |
commit | 908ce6d7214948e71dbeb01f129789c4c669861a (patch) | |
tree | ea4a31ea59fd8102c9abb66fb9cf72a1a1be8a43 /src/H5Gcache.c | |
parent | db134c8627d6a1c295ca01dfa9ee87b7a9475b6e (diff) | |
download | hdf5-908ce6d7214948e71dbeb01f129789c4c669861a.zip hdf5-908ce6d7214948e71dbeb01f129789c4c669861a.tar.gz hdf5-908ce6d7214948e71dbeb01f129789c4c669861a.tar.bz2 |
[svn-r17314] Description:
Bring r17313 from trunk to 1.8 branch:
Bring back various minor code cleanups from the file free space branch
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 (kagiso) 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-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
Mac OS X/32 10.5.8 (amazon) in debug mode
Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
Diffstat (limited to 'src/H5Gcache.c')
-rw-r--r-- | src/H5Gcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Gcache.c b/src/H5Gcache.c index 0e2a699..f711fda 100644 --- a/src/H5Gcache.c +++ b/src/H5Gcache.c @@ -311,7 +311,7 @@ H5G_node_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5G_node_ /* entries */ if(H5G_ent_encode_vec(f, &p, sym->entry, sym->nsyms) < 0) HGOTO_ERROR(H5E_SYM, H5E_CANTENCODE, FAIL, "can't serialize") - HDmemset(p, 0, size - (p - node)); + HDmemset(p, 0, size - (size_t)(p - node)); /* Write the serialized symbol table node. */ if(H5F_block_write(f, H5FD_MEM_BTREE, addr, size, dxpl_id, node) < 0) |