A general spring-cleaning (in autumn) to fix up signed/unsigned warnings.
[openssl.git] / crypto / evp / bio_b64.c
index 33349c2f9892a3df6229c5b3e01bf0f8954a19f1..fa5cbc7eb1ffc68fa212a102856e092c55b6512e 100644 (file)
@@ -165,7 +165,7 @@ static int b64_read(BIO *b, char *out, int outl)
                {
                i=ctx->buf_len-ctx->buf_off;
                if (i > outl) i=outl;
-               OPENSSL_assert(ctx->buf_off+i < sizeof ctx->buf);
+               OPENSSL_assert(ctx->buf_off+i < (int)sizeof(ctx->buf));
                memcpy(out,&(ctx->buf[ctx->buf_off]),i);
                ret=i;
                out+=i;