Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/lgpl3/gmp/dist/mpn/generic Appease shift vs substra...
details: https://anonhg.NetBSD.org/src/rev/4cdd231cb673
branches: trunk
changeset: 782304:4cdd231cb673
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Oct 27 06:55:54 2012 +0000
description:
Appease shift vs substract warning for clang.
diffstat:
external/lgpl3/gmp/dist/mpn/generic/get_d.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r de6ccbbe9bff -r 4cdd231cb673 external/lgpl3/gmp/dist/mpn/generic/get_d.c
--- a/external/lgpl3/gmp/dist/mpn/generic/get_d.c Sat Oct 27 01:29:02 2012 +0000
+++ b/external/lgpl3/gmp/dist/mpn/generic/get_d.c Sat Oct 27 06:55:54 2012 +0000
@@ -220,7 +220,7 @@
x <<= GMP_NAIL_BITS;
mhi |= x >> nbits >> 11;
- mlo = x << GMP_LIMB_BITS - nbits - 11;
+ mlo = x << (GMP_LIMB_BITS - nbits - 11);
nbits = nbits + 11 - GMP_NAIL_BITS;
}
else
Home |
Main Index |
Thread Index |
Old Index