Commit c42a78cb authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix a missed size_t variable declaration



pqueue_size() now returns a size_t, but the variable that gets returned
was still declared as an int.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent ff04799d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ pitem *pqueue_next(pitem **item)
size_t pqueue_size(pqueue *pq)
{
    pitem *item = pq->items;
    int count = 0;
    size_t count = 0;

    while (item != NULL) {
        count++;