summaryrefslogtreecommitdiffstats
path: root/apps/asn1pars.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/asn1pars.c')
-rw-r--r--apps/asn1pars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/asn1pars.c b/apps/asn1pars.c
index c7e9cf43d8..1b272b2977 100644
--- a/apps/asn1pars.c
+++ b/apps/asn1pars.c
@@ -281,7 +281,7 @@ bad:
if (length == 0) length=(unsigned int)num;
if(derout) {
- if(BIO_write(derout, str + offset, length) != length) {
+ if(BIO_write(derout, str + offset, length) != (int)length) {
BIO_printf(bio_err, "Error writing output\n");
ERR_print_errors(bio_err);
goto end;