aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-08-15 09:42:38 -0400
committerRich Salz <rsalz@openssl.org>2017-08-15 09:42:38 -0400
commit12997aa984cf0e5def1045fd22d7b0675caaa0a1 (patch)
treea4f37fb93d0d789dd9b9809a885d1cafd6a36935 /crypto
parentb158049cbdff7efa9afd93eb55bb7df95c0f385f (diff)
downloadopenssl-12997aa984cf0e5def1045fd22d7b0675caaa0a1.tar.gz
Revert "Add some casts for %j"
This reverts commit c4d2e483a39176a476c56d35879423fe6e33c0cd. Reviewed-by: Ben Kaduk <kaduk@mit.edu> (Merged from https://github.com/openssl/openssl/pull/4160)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/asn1/x_int64.c4
1 files changed, 2 insertions, 2 deletions
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 */