diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-27 18:33:36 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-27 18:33:36 (GMT) |
commit | e4ee157c86ea837ba8297c50cefdc296e8401094 (patch) | |
tree | 834205bf56ec642aab0f022382fab69bb7c64c46 /src/H5Fsuper_cache.c | |
parent | 53d5ccb17e75f4ce182f3d98f2b60891de07e716 (diff) | |
download | hdf5-e4ee157c86ea837ba8297c50cefdc296e8401094.zip hdf5-e4ee157c86ea837ba8297c50cefdc296e8401094.tar.gz hdf5-e4ee157c86ea837ba8297c50cefdc296e8401094.tar.bz2 |
[svn-r18635] Description:
Bring r18634 from trunk to 1.8 branch:
Clean up compiler warnings.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
(h5committested on trunk)
Diffstat (limited to 'src/H5Fsuper_cache.c')
-rw-r--r-- | src/H5Fsuper_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fsuper_cache.c b/src/H5Fsuper_cache.c index be579fb..bb0ca40 100644 --- a/src/H5Fsuper_cache.c +++ b/src/H5Fsuper_cache.c @@ -726,7 +726,7 @@ H5F_sblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t UNUSED addr, } /* end else */ /* Retrieve the total size of the superblock info */ - H5_ASSIGN_OVERFLOW(superblock_size, (p - buf), int, size_t); + H5_ASSIGN_OVERFLOW(superblock_size, (p - buf), ptrdiff_t, size_t); /* Double check we didn't overrun the block (unlikely) */ HDassert(superblock_size <= sizeof(buf)); |