From: Richard Kenner Date: Wed, 23 Sep 1992 23:24:45 +0000 (-0400) Subject: (fold_convert): Add missing cast to HOST_WIDE_INT. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f9dfb724b1720c7d30f9bd7fbddbcbc3524bfc0;p=platform%2Fupstream%2Fgcc.git (fold_convert): Add missing cast to HOST_WIDE_INT. From-SVN: r2218 --- diff --git a/gcc/fold-const.c b/gcc/fold-const.c index f2aa59f..e5d735c 100644 --- 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;