summaryrefslogtreecommitdiffstats
path: root/src/H5SHcache.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2005-06-29 16:01:09 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2005-06-29 16:01:09 (GMT)
commit7b193be887d3d84adddc5c1738799e53d1fc2754 (patch)
treee30adc925395f1d3eac263e15589c815ea596749 /src/H5SHcache.c
parent1e1e2578f66a7346aef55b33f44c2d27853c7da7 (diff)
downloadhdf5-7b193be887d3d84adddc5c1738799e53d1fc2754.zip
hdf5-7b193be887d3d84adddc5c1738799e53d1fc2754.tar.gz
hdf5-7b193be887d3d84adddc5c1738799e53d1fc2754.tar.bz2
[svn-r10998] Purpose: Bug fix.
Description: For the definition of the macro H5T_CONV_Xx_CORE, added a condition branch (else if (*((ST*)S) == (DT)(D_MAX))) which seems redundant. It handles a special situation when the source is "float" and assigned the value of "INT_MAX". A compiler may do roundup making this value "INT_MAX+1". However, when do comparison "if (*((ST*)S) > (DT)(D_MAX))", the compiler may consider them equal. Platforms tested: fuss - simple change.
Diffstat (limited to 'src/H5SHcache.c')
0 files changed, 0 insertions, 0 deletions