Fix for "shift count too large" when compiling for hpux-parisc2 and

irix-mips. The bug was introduced with accelerated support for x86_64.
My fault! Fixed now.
This commit is contained in:
Andy Polyakov 2002-12-20 18:11:30 +00:00
parent 9b58214e4a
commit 316bfb77b5

View File

@ -378,7 +378,7 @@ struct bignum_ctx
lt=(bl)*(lt); \
m1=(bl)*(ht); \
ht =(bh)*(ht); \
m=(m+m1)&BN_MASK2; if (m < m1) ht+=L2HBITS(1L); \
m=(m+m1)&BN_MASK2; if (m < m1) ht+=L2HBITS((BN_ULONG)1); \
ht+=HBITS(m); \
m1=L2HBITS(m); \
lt=(lt+m1)&BN_MASK2; if (lt < m1) ht++; \