projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01ca1b9
)
(fold_convert): Add missing cast to HOST_WIDE_INT.
author
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 23 Sep 1992 23:24:45 +0000
(19:24 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 23 Sep 1992 23:24:45 +0000
(19:24 -0400)
From-SVN: r2218
gcc/fold-const.c
patch
|
blob
|
history
diff --git
a/gcc/fold-const.c
b/gcc/fold-const.c
index f2aa59fd57db49637c1ca6fb786169527086b1fc..e5d735c9554a804ab29023c8c11f268ba3ba7f1c 100644
(file)
--- a/
gcc/fold-const.c
+++ b/
gcc/fold-const.c
@@
-1520,7
+1520,7
@@
fold_convert (t, arg1)
if (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
low = (HOST_WIDE_INT) d;