summaryrefslogtreecommitdiffstats
path: root/perform/zip_perf.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-09-02 15:50:01 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-09-02 15:50:01 (GMT)
commit3cf78c8f18f849c629c7f7ac9b32601a8994d2b7 (patch)
tree6390035c2d7f5265cd889b39f4995bc587c5e846 /perform/zip_perf.c
parentd47f033ad7c3b1201aa8b217d0ad008d0990eb20 (diff)
downloadhdf5-3cf78c8f18f849c629c7f7ac9b32601a8994d2b7.zip
hdf5-3cf78c8f18f849c629c7f7ac9b32601a8994d2b7.tar.gz
hdf5-3cf78c8f18f849c629c7f7ac9b32601a8994d2b7.tar.bz2
[svn-r21356] Issue 7674 - CLANG compiler complained about the line (about 800):
tempint = (tempint >> packed_data_offset) & packed_data_mask; The right shift may cause undefined behavior if PACKED_DATA_OFFSET is 32-bit or more. For every kind of native integers, I changed the code to make it zero if PACKED_DATA_OFFSET is greater than or equal to the size of integer. Tested on jam and on MacOS with CLANG compiler.
Diffstat (limited to 'perform/zip_perf.c')
0 files changed, 0 insertions, 0 deletions