summaryrefslogtreecommitdiffstats
path: root/src/H5Tconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r--src/H5Tconv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c
index 4690857..a80b7c3 100644
--- a/src/H5Tconv.c
+++ b/src/H5Tconv.c
@@ -187,7 +187,8 @@ H5FL_BLK_DEFINE_STATIC(array_seq);
* 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. SLU - 2005/06/29
+ * equal. In this case, do not return exception but make sure the maximum is assigned
+ * to the destination. SLU - 2005/06/29
*/
#define H5T_CONV_Xx_CORE(S,D,STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
if (*((ST*)S) > (DT)(D_MAX)) { \