mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
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:
parent
ff04799d90
commit
c42a78cb57
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user