diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-03-06 19:53:23 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-03-06 19:53:23 (GMT) |
commit | 89ffc9f2d7b5c9f929c761823296f60abf4bc7df (patch) | |
tree | 521dda7a2680e7ad76e63af969b2bfed0902cf83 /src/H5HG.c | |
parent | 84f0d4735a2e4a91d8e7bc0b2028c9234dc9fc7c (diff) | |
download | hdf5-89ffc9f2d7b5c9f929c761823296f60abf4bc7df.zip hdf5-89ffc9f2d7b5c9f929c761823296f60abf4bc7df.tar.gz hdf5-89ffc9f2d7b5c9f929c761823296f60abf4bc7df.tar.bz2 |
[svn-r26387] warning fixes from Feb27.
Diffstat (limited to 'src/H5HG.c')
-rw-r--r-- | src/H5HG.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -182,7 +182,7 @@ HDmemset(heap->chunk, 0, size); * which was always at least H5HG_ALIGNMENT aligned then we could just * align the pointer, but this might not be the case. */ - n = H5HG_ALIGN(p - heap->chunk) - (p - heap->chunk); + n = H5HG_ALIGN(p - heap->chunk) - (size_t)(p - heap->chunk); #ifdef OLD_WAY /* Don't bother zeroing out the rest of the info in the heap -QAK */ HDmemset(p, 0, n); @@ -776,7 +776,7 @@ H5HG_remove (H5F_t *f, hid_t dxpl_id, H5HG_t *hobj) else heap->obj[0].size += need; HDmemmove(obj_start, obj_start + need, - heap->size - ((obj_start + need) - heap->chunk)); + heap->size - (size_t)((obj_start + need) - heap->chunk)); if(heap->obj[0].size >= H5HG_SIZEOF_OBJHDR(f)) { p = heap->obj[0].begin; UINT16ENCODE(p, 0); /*id*/ |