diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2016-06-06 00:45:37 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2016-06-06 00:45:37 (GMT) |
commit | dd6c8994c01cd31b5230e98838f11e4c229fdb34 (patch) | |
tree | 3b30f5bc0090c7d25ab67248422891a6a0e19a8d /src/H5HP.c | |
parent | 60aebe36b64de110a2a73bc66726e77fba299711 (diff) | |
download | hdf5-dd6c8994c01cd31b5230e98838f11e4c229fdb34.zip hdf5-dd6c8994c01cd31b5230e98838f11e4c229fdb34.tar.gz hdf5-dd6c8994c01cd31b5230e98838f11e4c229fdb34.tar.bz2 |
[svn-r30017] Description:
Bring warning cleanusp in r29990, 29993, 29997, 29999, 30004 from
revise_chunks branch to trunk.
Tested on:
MacOSX/64 10.11.5 (amazon) w/serial, parallel & production.
(h5committest forthcoming)
Diffstat (limited to 'src/H5HP.c')
-rw-r--r-- | src/H5HP.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -848,7 +848,8 @@ H5HP_decr(H5HP_t *heap, unsigned amt, void *_obj) HDassert(obj_loc>0 && obj_loc<=heap->nobjs); /* Change the heap object's priority */ - heap->heap[obj_loc].val-=amt; + H5_CHECK_OVERFLOW(amt, unsigned, int); + heap->heap[obj_loc].val-=(int)amt; /* Restore heap condition */ if(heap->type==H5HP_MAX_HEAP) { |