summaryrefslogtreecommitdiffstats
path: root/release_docs
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-09-01 20:51:43 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-09-01 20:51:43 (GMT)
commitd08f89f07d6a5831e0d3194bc82b9dff3e814b67 (patch)
tree7dc05e4258e7bf6cfa4385c2804a22f4d5438a6e /release_docs
parentab299db44b80aaffbcdfe4eb692d061ddec9ff3f (diff)
downloadhdf5-d08f89f07d6a5831e0d3194bc82b9dff3e814b67.zip
hdf5-d08f89f07d6a5831e0d3194bc82b9dff3e814b67.tar.gz
hdf5-d08f89f07d6a5831e0d3194bc82b9dff3e814b67.tar.bz2
[svn-r21354] 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 Mac OS Lion with CLANG compiler and jam, koala, and linew.
Diffstat (limited to 'release_docs')
0 files changed, 0 insertions, 0 deletions