Fix from head.

This commit is contained in:
Dr. Stephen Henson 2004-03-01 13:24:08 +00:00
parent d60425034f
commit 3b7dd6d34c

View File

@ -312,7 +312,7 @@ bad:
num -= offset; num -= offset;
if ((length == 0) || (length > num)) length=(unsigned int)num; if ((length == 0) || ((long)length > num)) length=(unsigned int)num;
if(derout) { if(derout) {
if(BIO_write(derout, str + offset, length) != (int)length) { if(BIO_write(derout, str + offset, length) != (int)length) {
BIO_printf(bio_err, "Error writing output\n"); BIO_printf(bio_err, "Error writing output\n");