[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-cvs
Subject:    [CVS] OpenSSL: openssl/crypto/bn/ bn_lib.c
From:       "Andy Polyakov" <appro () openssl ! org>
Date:       2008-12-29 12:44:33
Message-ID: 20081229124433.D33191EAE8D1 () master ! openssl ! org
[Download RAW message or body]

  OpenSSL CVS Repository
  http://cvs.openssl.org/
  ____________________________________________________________________________

  Server: cvs.openssl.org                  Name:   Andy Polyakov
  Root:   /v/openssl/cvs                   Email:  appro@openssl.org
  Module: openssl                          Date:   29-Dec-2008 13:44:33
  Branch: HEAD                             Handle: 2008122912443300

  Modified files:
    openssl/crypto/bn       bn_lib.c

  Log:
    bn_lib.c: [re-]fix Win64 compiler warning.

  Summary:
    Revision    Changes     Path
    1.71        +1  -1      openssl/crypto/bn/bn_lib.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openssl/crypto/bn/bn_lib.c
  ============================================================================
  $ cvs diff -u -r1.70 -r1.71 bn_lib.c
  --- openssl/crypto/bn/bn_lib.c	29 Dec 2008 12:35:47 -0000	1.70
  +++ openssl/crypto/bn/bn_lib.c	29 Dec 2008 12:44:33 -0000	1.71
  @@ -763,7 +763,7 @@
   	i=n/BN_BITS2;
   	j=n%BN_BITS2;
   	if (a->top <= i) return 0;
  -	return(((a->d[i])>>j)&((BN_ULONG)1)==1);
  +	return (int)(((a->d[i])>>j)&((BN_ULONG)1));
   	}
   
   int BN_mask_bits(BIGNUM *a, int n)
  @@ .
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
CVS Repository Commit List                     openssl-cvs@openssl.org
Automated List Manager                           majordomo@openssl.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic