Various Win32 fixes. Change args in do_ms.bat to put platform last. Fix
[openssl.git] / apps / asn1pars.c
index c7e9cf4..1b272b2 100644 (file)
@@ -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;