summaryrefslogtreecommitdiffstats
path: root/crypto/pqueue
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-06-29 18:48:12 +0000
committerRichard Levitte <levitte@openssl.org>2005-06-29 18:48:12 +0000
commit35f70c09f597f80e7f54963359c3a59d51da86c8 (patch)
tree19981875ba8356534ac5673afb567a4645d51e16 /crypto/pqueue
parentcc4cba7b5de8c1149b98ec701a40523abedf1a7c (diff)
Actually, the 64bit format specifier differs between SIXTY_FOUR_BIT and
SIXTY_FOUR_BIT_LONG
Diffstat (limited to 'crypto/pqueue')
-rw-r--r--crypto/pqueue/pq_compat.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/pqueue/pq_compat.h b/crypto/pqueue/pq_compat.h
index e7c46d5aa1..28c58a0261 100644
--- a/crypto/pqueue/pq_compat.h
+++ b/crypto/pqueue/pq_compat.h
@@ -108,7 +108,10 @@
#define PQ_64BIT_IS_INTEGER 1
#define PQ_64BIT_IS_BIGNUM 0
-#if defined(SIXTY_FOUR_BIT) || defined(SIXTY_FOUR_BIT_LONG)
+#if defined(SIXTY_FOUR_BIT)
+#define PQ_64BIT BN_ULONG
+#define PQ_64BIT_PRINT "%lld"
+#elif defined(SIXTY_FOUR_BIT_LONG)
#define PQ_64BIT BN_ULONG
#define PQ_64BIT_PRINT "%ld"
#elif defined(THIRTY_TWO_BIT)