diff options
author | Geoff Thorpe <geoff@openssl.org> | 2004-02-10 18:46:10 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2004-02-10 18:46:10 +0000 |
commit | 6c43032121b3403061119def69c5684ab955e7e2 (patch) | |
tree | e86fec1d01e8392689fbf2529940082e5e46b06e /apps/asn1pars.c | |
parent | 37ead9be0b990b94ec6dbf466cdc05f53c18d442 (diff) |
minor signed/unsigned warning fixes
Diffstat (limited to 'apps/asn1pars.c')
-rw-r--r-- | apps/asn1pars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/asn1pars.c b/apps/asn1pars.c index 88db0d1978..c28b5ec194 100644 --- a/apps/asn1pars.c +++ b/apps/asn1pars.c @@ -341,7 +341,7 @@ bad: num -= offset; - if ((length == 0) || (length > num)) length=(unsigned int)num; + if ((length == 0) || ((long)length > num)) length=(unsigned int)num; if(derout) { if(BIO_write(derout, str + offset, length) != (int)length) { BIO_printf(bio_err, "Error writing output\n"); |