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 Avoid warning on sparc64



details:   https://anonhg.NetBSD.org/src/rev/5169f2e602bb
branches:  trunk
changeset: 325019:5169f2e602bb
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Nov 30 20:30:22 2013 +0000

description:
Avoid warning on sparc64

diffstat:

 external/lgpl3/gmp/dist/mpn/generic/divrem_2.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 079798ad8140 -r 5169f2e602bb external/lgpl3/gmp/dist/mpn/generic/divrem_2.c
--- a/external/lgpl3/gmp/dist/mpn/generic/divrem_2.c    Sat Nov 30 20:20:42 2013 +0000
+++ b/external/lgpl3/gmp/dist/mpn/generic/divrem_2.c    Sat Nov 30 20:30:22 2013 +0000
@@ -98,7 +98,7 @@
       for (i = qxn - 1; i >= 0; i--)
        {
          mp_limb_t q;
-         udiv_qr_3by2 (q, r1, r0, r1, r0, 0, d1, d0, di.inv32);
+         udiv_qr_3by2 (q, r1, r0, r1, r0, 0UL, d1, d0, di.inv32);
          qp[i] = q;
        }
     }



Home | Main Index | Thread Index | Old Index