diff options
author | Richard Levitte <levitte@openssl.org> | 2004-01-27 02:16:38 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2004-01-27 02:16:38 +0100 |
commit | 87203dc99aeaf3ef50b3df4ac99f2471d06434eb (patch) | |
tree | f9bfe043d38550ce8a2d560d6de1acfd6bf28fe4 /crypto/asn1/a_utctm.c | |
parent | S_IFBLK and S_IFCHR may not exist in some places (like Windows), so (diff) | |
download | openssl-87203dc99aeaf3ef50b3df4ac99f2471d06434eb.tar.xz openssl-87203dc99aeaf3ef50b3df4ac99f2471d06434eb.zip |
Avoid signed vs. unsigned warnings (which are treated like errors on
Windows).
Diffstat (limited to 'crypto/asn1/a_utctm.c')
-rw-r--r-- | crypto/asn1/a_utctm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_utctm.c b/crypto/asn1/a_utctm.c index 6bc609a905..999852dae5 100644 --- a/crypto/asn1/a_utctm.c +++ b/crypto/asn1/a_utctm.c @@ -200,7 +200,7 @@ ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t) 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); |