diff options
author | J"orn Rennecke <amylaar@cygnus.co.uk> | 1997-10-20 00:56:45 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-10-19 18:56:45 -0600 |
commit | 7d4f2e6c2a65afed8d203e9cfe86005b082bdf9a (patch) | |
tree | 824f72d36007f8159d2ec9545297254ff57ec2e6 /gcc/longlong.h | |
parent | decd44acedfd8fd2b06ef17d7d70eefdb11acc59 (diff) | |
download | gcc-7d4f2e6c2a65afed8d203e9cfe86005b082bdf9a.zip gcc-7d4f2e6c2a65afed8d203e9cfe86005b082bdf9a.tar.gz gcc-7d4f2e6c2a65afed8d203e9cfe86005b082bdf9a.tar.bz2 |
* longlong.h (count_leading_zeros): Add missing casts to USItype.
From-SVN: r16096
Diffstat (limited to 'gcc/longlong.h')
-rw-r--r-- | gcc/longlong.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/longlong.h b/gcc/longlong.h index d9055c2..c316091 100644 --- a/gcc/longlong.h +++ b/gcc/longlong.h @@ -1236,9 +1236,9 @@ extern const UQItype __clz_tab[]; \ if (SI_TYPE_SIZE <= 32) \ { \ - __a = __xr < (1<<2*__BITS4) \ - ? (__xr < (1<<__BITS4) ? 0 : __BITS4) \ - : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ + __a = __xr < ((USItype)1<<2*__BITS4) \ + ? (__xr < ((USItype)1<<__BITS4) ? 0 : __BITS4) \ + : (__xr < ((USItype)1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ } \ else \ { \ |