aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/a_gentm.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2004-01-27 01:16:38 +0000
committerRichard Levitte <levitte@openssl.org>2004-01-27 01:16:38 +0000
commit87203dc99aeaf3ef50b3df4ac99f2471d06434eb (patch)
treef9bfe043d38550ce8a2d560d6de1acfd6bf28fe4 /crypto/asn1/a_gentm.c
parent4de65cbc06c28f9512d88be159bd6f770fb15a14 (diff)
downloadopenssl-87203dc99aeaf3ef50b3df4ac99f2471d06434eb.tar.gz
Avoid signed vs. unsigned warnings (which are treated like errors on
Windows).
Diffstat (limited to 'crypto/asn1/a_gentm.c')
-rw-r--r--crypto/asn1/a_gentm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_gentm.c b/crypto/asn1/a_gentm.c
index 1aba86d0db..8581007868 100644
--- a/crypto/asn1/a_gentm.c
+++ b/crypto/asn1/a_gentm.c
@@ -220,7 +220,7 @@ ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,
return(NULL);
p=(char *)s->data;
- if ((p == NULL) || (s->length < len))
+ if ((p == NULL) || ((size_t)s->length < len))
{
p=OPENSSL_malloc(len);
if (p == NULL) return(NULL);