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 d25b49c..1eaf879 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