[libmath-prime-util-perl] 51/54: fix sign warning in new znprimroot code
Partha P. Mukherjee
ppm-guest at moszumanska.debian.org
Thu May 21 18:52:11 UTC 2015
This is an automated email from the git hooks/post-receive script.
ppm-guest pushed a commit to annotated tag v0.38
in repository libmath-prime-util-perl.
commit d1b89ec7bc66b85e698a9a0a5a50a877422f8677
Author: Dana Jacobsen <dana at acm.org>
Date: Fri Feb 28 09:08:31 2014 -0800
fix sign warning in new znprimroot code
---
Changes | 2 +-
util.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Changes b/Changes
index 25ea682..060a179 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,6 @@
Revision history for Perl module Math::Prime::Util
-0.38 2014-02
+0.38 2014-02-28
[ADDED]
diff --git a/util.c b/util.c
index b0ace49..5b125c1 100644
--- a/util.c
+++ b/util.c
@@ -1237,8 +1237,8 @@ UV znorder(UV a, UV n) {
UV znprimroot(UV n) {
UV fac[MPU_MAX_FACTORS+1];
UV exp[MPU_MAX_FACTORS+1];
- UV a, phi;
- int i, j, nfactors;
+ UV a, j, phi;
+ int i, nfactors;
if (n <= 4) return (n == 0) ? 0 : n-1;
if (n % 4 == 0) return 0;
if (is_prob_prime(n)) {
--
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