From 12997aa984cf0e5def1045fd22d7b0675caaa0a1 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Tue, 15 Aug 2017 09:42:38 -0400 Subject: Revert "Add some casts for %j" This reverts commit c4d2e483a39176a476c56d35879423fe6e33c0cd. Reviewed-by: Ben Kaduk (Merged from https://github.com/openssl/openssl/pull/4160) --- crypto/asn1/x_int64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/asn1') diff --git a/crypto/asn1/x_int64.c b/crypto/asn1/x_int64.c index 8f06475a93..714e2f7075 100644 --- a/crypto/asn1/x_int64.c +++ b/crypto/asn1/x_int64.c @@ -102,8 +102,8 @@ static int uint64_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) { if ((it->size & INTxx_FLAG_SIGNED) == INTxx_FLAG_SIGNED) - return BIO_printf(out, "%jd\n", (intmax_t)**(int64_t **)pval); - return BIO_printf(out, "%ju\n", (uintmax_t)**(uint64_t **)pval); + return BIO_printf(out, "%jd\n", **(int64_t **)pval); + return BIO_printf(out, "%ju\n", **(uint64_t **)pval); } /* 32-bit variants */ -- cgit v1.2.3