[libmath-prime-util-perl] 49/59: Change %lu to use unsigned long

Partha P. Mukherjee ppm-guest at moszumanska.debian.org
Thu May 21 18:45:02 UTC 2015


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

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

commit 4828d2f90cb66e482dea0ec07775c948e678c154
Author: Dana Jacobsen <dana at acm.org>
Date:   Fri Jul 13 16:38:21 2012 -0600

    Change %lu to use unsigned long
---
 XS.xs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/XS.xs b/XS.xs
index 7413c56..fb0d1a0 100644
--- a/XS.xs
+++ b/XS.xs
@@ -269,7 +269,7 @@ _XS_factor(IN UV n)
             n = tofac_stack[ntofac];  /* Set n to the other one */
           } else {
             /* trial divisions */
-            if (verbose) printf("doing trial on %llu\n", n);
+            if (verbose) printf("doing trial on %lu\n", (unsigned long)n);
             UV f = tlim;
             UV m = tlim % 30;
             UV limit = (UV) (sqrt(n)+0.1);

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



More information about the Pkg-perl-cvs-commits mailing list