[libmath-prime-util-perl] 163/181: Fix stupid cpp typo

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


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

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

commit d0fee2da135c512be922c87b36fb263b9b282497
Author: Dana Jacobsen <dana at acm.org>
Date:   Fri Jan 10 21:22:14 2014 -0800

    Fix stupid cpp typo
---
 util.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/util.h b/util.h
index e214598..672f8c7 100644
--- a/util.h
+++ b/util.h
@@ -141,7 +141,7 @@ static int is_perfect_square(UV n)
  #ifdef FUNC_ctz
   static int ctz(UV n) {
     UV tz = 0;
-   #ifdef BITS_PER_WORD == 64
+   #if BITS_PER_WORD == 64
     if (_BitScanForward64(&tz, n)) return tz; else return 64;
    #else
     if (_BitScanForward(&tz, n))   return tz; else return 32;
@@ -151,7 +151,7 @@ static int is_perfect_square(UV n)
  #if defined(FUNC_clz) || defined(FUNC_log2floor)
   static int log2floor(UV n) {
     UV lz = 0;
-   #ifdef BITS_PER_WORD == 64
+   #if BITS_PER_WORD == 64
     if (_BitScanReverse64(&lz, n)) return lz; else return 0;
    #else
     if (_BitScanReverse(&lz, n))   return lz; else return 0;

-- 
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