Commit 1f9dfb72 by Richard Kenner

(fold_convert): Add missing cast to HOST_WIDE_INT.

From-SVN: r2218
parent 01ca1b91
...@@ -1520,7 +1520,7 @@ fold_convert (t, arg1) ...@@ -1520,7 +1520,7 @@ fold_convert (t, arg1)
if (d >= (REAL_VALUE_TYPE) half_word * half_word / 2) if (d >= (REAL_VALUE_TYPE) half_word * half_word / 2)
{ {
low = d - (REAL_VALUE_TYPE) half_word * half_word / 2; low = d - (REAL_VALUE_TYPE) half_word * half_word / 2;
low |= 1 << (HOST_BITS_PER_WIDE_INT - 1); low |= (HOST_WIDE_INT) 1 << (HOST_BITS_PER_WIDE_INT - 1);
} }
else else
low = (HOST_WIDE_INT) d; low = (HOST_WIDE_INT) d;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment