Module Name: src Committed By: joerg Date: Sat Oct 27 06:55:55 UTC 2012
Modified Files: src/external/lgpl3/gmp/dist/mpn/generic: get_d.c Log Message: Appease shift vs substract warning for clang. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/lgpl3/gmp/dist/mpn/generic/get_d.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/lgpl3/gmp/dist/mpn/generic/get_d.c diff -u src/external/lgpl3/gmp/dist/mpn/generic/get_d.c:1.1.1.1 src/external/lgpl3/gmp/dist/mpn/generic/get_d.c:1.2 --- src/external/lgpl3/gmp/dist/mpn/generic/get_d.c:1.1.1.1 Mon Jun 20 05:54:41 2011 +++ src/external/lgpl3/gmp/dist/mpn/generic/get_d.c Sat Oct 27 06:55:54 2012 @@ -220,7 +220,7 @@ mpn_get_d (mp_srcptr up, mp_size_t size, 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