diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2011-09-01 20:51:43 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2011-09-01 20:51:43 (GMT) |
commit | d08f89f07d6a5831e0d3194bc82b9dff3e814b67 (patch) | |
tree | 7dc05e4258e7bf6cfa4385c2804a22f4d5438a6e /release_docs | |
parent | ab299db44b80aaffbcdfe4eb692d061ddec9ff3f (diff) | |
download | hdf5-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