Commit 21db0e1a authored by Bernd Edlinger's avatar Bernd Edlinger
Browse files

Remove an unnecessary cast in the param to BUF_MEM_grow

parent 16e1eea6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -205,7 +205,7 @@ int asn1parse_main(int argc, char **argv)

            num = 0;
            for (;;) {
                if (!BUF_MEM_grow(buf, (int)num + BUFSIZ))
                if (!BUF_MEM_grow(buf, num + BUFSIZ))
                    goto end;
                i = BIO_read(in, &(buf->data[num]), BUFSIZ);
                if (i <= 0)