diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2011-08-18 21:11:14 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2011-08-18 21:11:14 (GMT) |
commit | a5522454a560673856ef525066da5e8f5a90b9a9 (patch) | |
tree | ffc9932979676ead592067f7fb8dd9849ee641d8 /test/fillval.c | |
parent | 215c872226bc099bb216b6f141dfd3706a4ab4c0 (diff) | |
download | hdf5-a5522454a560673856ef525066da5e8f5a90b9a9.zip hdf5-a5522454a560673856ef525066da5e8f5a90b9a9.tar.gz hdf5-a5522454a560673856ef525066da5e8f5a90b9a9.tar.bz2 |
[svn-r21258] Issue 7674 - clang compiler reported an error with line 334:
temp_point->l = (unsigned long long)((i * 100 + j * 1000) * n);
The value can overflow the signed int before being converted to unsigned long long. So I changed it to
temp_point->l = (unsigned long long)((i * 40 + j * 400) * n);
to keep it under the maximal value.
Tested on jam. Simple change.
Diffstat (limited to 'test/fillval.c')
0 files changed, 0 insertions, 0 deletions