summaryrefslogtreecommitdiff
path: root/crypto/pqueue
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2005-06-29 11:02:15 +0000
committerBen Laurie <ben@openssl.org>2005-06-29 11:02:15 +0000
commita51a97262de196f8d4940fe68d9412ec99cd555a (patch)
tree56a8e1c194e5755f5cac06e8ab9cff1173a332cf /crypto/pqueue
parent45d8574b93e9f1e14c62b765220b370f7c37eaa3 (diff)
downloadopenssl-new-a51a97262de196f8d4940fe68d9412ec99cd555a.tar.gz
Brought forward from 0.9.8 - 64 bit warning fixes and fussy compiler fixes.
Diffstat (limited to 'crypto/pqueue')
-rw-r--r--crypto/pqueue/pq_compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/pqueue/pq_compat.h b/crypto/pqueue/pq_compat.h
index bd86efccc7..904b0d09a2 100644
--- a/crypto/pqueue/pq_compat.h
+++ b/crypto/pqueue/pq_compat.h
@@ -111,8 +111,10 @@
#if defined(SIXTY_FOUR_BIT) || defined(SIXTY_FOUR_BIT_LONG)
#define PQ_64BIT BN_ULONG
+#define PQ_64BIT_PRINT "%ld"
#elif defined(THIRTY_TWO_BIT)
#define PQ_64BIT BN_ULLONG
+#define PQ_64BIT_PRINT "%lld"
#endif
#define PQ_64BIT_CTX void