summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-01-15 13:30:52 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-01-15 13:30:52 +0000
commit9138e3c061bd332c06780677be47bedc0251d826 (patch)
treed5786c27e67104a49fe843296df52917d8bf9de8 /crypto/asn1
parent9b2a29660bc3b9b7f2ee8df52f7d7a46e20247dc (diff)
fix warning
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/t_x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c
index 4f5d28f1ab..edbb39a02f 100644
--- a/crypto/asn1/t_x509.c
+++ b/crypto/asn1/t_x509.c
@@ -138,7 +138,7 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, unsigned long cflag)
if (BIO_write(bp," Serial Number:",22) <= 0) goto err;
bs=X509_get_serialNumber(x);
- if (bs->length <= sizeof(long))
+ if (bs->length <= (int)sizeof(long))
{
l=ASN1_INTEGER_get(bs);
if (bs->type == V_ASN1_NEG_INTEGER)