This is an automated email from the git hooks/post-receive script.

ppm-guest pushed a commit to annotated tag v0.35
in repository libmath-prime-util-perl.

commit c7908aa1e545b1cf12cdec6d1ea9055256c5f861
Author: Dana Jacobsen <d...@acm.org>
Date:   Wed Nov 20 17:16:28 2013 -0800

    For 64-bit, primei must be a UV instead of uint32_t
---
 lehmer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lehmer.c b/lehmer.c
index 47657f0..29ad8d7 100644
--- a/lehmer.c
+++ b/lehmer.c
@@ -869,7 +869,7 @@ UV _XS_LMO_pi(UV n)
   Newz(0, lpf, n13+1, uint32_t);
   mu[0] = 0;
   for (i = 1; i <= n13; i++) {
-    uint32_t primei = primes[i];
+    UV primei = primes[i];
     for (j = primei; j <= n13; j += primei) {
       mu[j] = -mu[j];
       if (lpf[j] == 0) lpf[j] = primei;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to