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: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Matt Caswell 2016-11-04 10:26:57 +00:00
parent ff04799d90
commit c42a78cb57

View File

@ -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++;