Avoid gcc warning: BN_DEC_CONV when SIXTY_FOUR_BIT is defined is unsigned.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 10 May 2002 22:07:37 +0000 (22:07 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 10 May 2002 22:07:37 +0000 (22:07 +0000)
crypto/bn/bn.h

index d25b49c9d8df8676cabd60290d310275bda980ff..1eaf8795531162bebf0a7a1518120b7e9c01f7cc 100644 (file)
@@ -136,7 +136,7 @@ extern "C" {
 #define BN_MASK2h      (0xffffffff00000000LL)
 #define BN_MASK2h1     (0xffffffff80000000LL)
 #define BN_TBIT                (0x8000000000000000LL)
-#define BN_DEC_CONV    (10000000000000000000LL)
+#define BN_DEC_CONV    (10000000000000000000ULL)
 #define BN_DEC_FMT1    "%llu"
 #define BN_DEC_FMT2    "%019llu"
 #define BN_DEC_NUM     19